Ezekiel 23:28
For thus saith the Lord GOD; Behold, I will deliver thee into the hand of them whom thou hatest, into the hand of them from whom thy mind is alienated: For thus saith the Lord GOD; Behold, I will deliver thee into the hand of them whom thou hatest, into the hand of them from whom thy mind is alienated:
Ezekiel 23 portrays Samaria and Jerusalem as adulterous women who turn from their covenant with God to desire the Assyrians and Babylonians. That spiritual fornication includes forsaking God and seeking help in Egypt, which is rebellion against Him. The fornication means apostasy from God's law and testimony, turning from the worship of Jehovah to idolatrous and false religious groups.
The threatened judgment is delivery into the hand of those formerly allied but now hated and from whom the mind is alienated, fulfilled as the king of Babylon comes against Jerusalem in the scattering of Israel. No further explanation is given of that specific threat beyond the portrayal itself. In this verse "mind" translates the Hebrew neh-phesh, showing that "soul" can mean a person's mind, feelings, and inward disposition, here hatred toward and alienation from those hated.
The verse belongs to repeated instruction to Israel through Ezekiel pleading for the people to turn to God, so the conditional terms of Jeremiah 18:8-10 apply to it. Its context also involves the removal of the diadem from Israel's profane and wicked prince and the overturning of the kingdom until the coming of the one whose right it is. The same guilt rests on professed Christian churches today when they seek union with the civil power, because God has furnished a plenitude of blessings in Jesus Christ, demands all from His church, and will not divide His glory with another. The verse does not describe a church's lawful use of civil government for temporal matters.