"Pharaoh – he and all his army – will see them and he will be consoled for all his hordes that were killed by the sword, declares the Sovereign LORD."
NIV
When Pharaoh sees them, he will comfort himself for all his multitude--even Pharaoh and all his army, slain by the sword, says the Lord God.
AMP
Pharaoh shall see them, and shall be comforted over all his multitude, even Pharaoh and all his army slain by the sword, saith the Lord GOD.
KJV
So that you may bear your disgrace and be ashamed of all you have done in giving them comfort.
NIV
That you [Judah], amid your shame and disgrace, may be compelled to recognize your wickedness and be thoroughly ashamed and confounded at all you have done, becoming [converted and bringing] consolation and comfort to [your sisters.]AMP
That thou mayest bear thine own shame, and mayest be confounded in all that thou hast done, in that thou art a comfort unto them.
KJV