Ezekiel 16:49-55 AMP

49 Behold, this was the iniquity of your sister Sodom: pride, overabundance of food, prosperous ease, and idleness were hers and her daughters'; neither did she strengthen the hand of the poor and needy.

50 And they were haughty and committed abominable offenses before Me; therefore I removed them when I saw it and I saw fit. [Gen. 13:13; 18:20; 19:5.]

51 Neither has Samaria committed half of your sins, but you have multiplied your [idolatrous] abominations more than they and have seemed to justify your sisters [Samaria and Sodom] in all their wickedness by all the abominable things which you have done–you even make them appear righteous in comparison with you.

52 Take upon you and bear your own shame and disgrace [in your punishment], you also who called in question and judged your sisters, for you have virtually absolved them by your sins in which you behaved more abominably than they; they are more right than you. Yes, be ashamed and confounded and bear your shame and disgrace, you also, for you have seemed to justify your sisters and make them appear righteous.

53 I will restore them again from their captivity, restore the fortunes of Sodom and her daughters and the fortunes of Samaria and her daughters, and I will restore your own fortunes in the midst of them [in the day of the Lord], [Isa. 1:9.]

54 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.]

55 And your sisters, Sodom and her daughters shall return to their former estate, and Samaria and her daughters shall return to their former estate; then you and your daughters shall return to your former estate.