The city of Jerusalem was likened to a harlot or prostitute because of the idolatry that took place within her walls. God described Jerusalem as the child of prominent parents that was abandoned at birth, perhaps the result of a failed abortion. God said, “And as for thy nativity, in the day thou wast born thy naval wast not cut, neither wast thou washed in water to supple thee; thou wast not salted at all, nor swaddled at all. None eye pitied thee, to do any of these unto thee, to have compassion upon thee; but thou wast cast out in the open field, to the loathing of thy person, in the day that thou wast born” (Ezekiel 16:4-5).
God’s claim to the city of Jerusalem was based on a covenant he likened to a marriage contract. He said, “Now when I passed by thee, and looked upon thee, behold thy time was the time of love; and I spread my skirt over thee, and covered thy nakedness; yea, I sware unto thee, and entered into a covenant with thee, saith the Lord GOD, and thou becamest mine” (Ezekiel 16:8). God’s relationship with his people was dependent on a land that would belong to them throughout eternity. In order to fulfill his promise to Abraham, God selected Jerusalem as the home where he would dwell with his people.
God’s commitment to the city of Jerusalem was met when king David made Jerusalem the capital of Israel and Solomon built his temple there. It was only because Good had chosen Jerusalem beforehand that these things were able to take place. Like a bride on her wedding day, God said, “Thus wast thou decked with gold and silver; and thy raiment was of fine linen, and silk, and broidered work; thou didst eat fine flour, and honey, and oil; and thou wast exceeding beautiful, and thou didst prosper as a kingdom” (Ezekiel 16:13).
The city of Jerusalem became attractive to foreign kings because of the wealth that flowed into her gates as a result of God’s blessing. Without fully realizing what he was doing, king Hezekiah invited dignitaries from Babylon to tour his capital. It says in 2 Kings 20:13, “And Hezekiah hearkened unto them, and shewed them all the house of his precious things, the silver, and the gold, and the spices, and the precious ointment, and all the house of his armour, and all that was found in his treasures: there was nothing in his house, nor in all his dominion, that Hezekiah shewed them not.”
So that no one would be able to inhabit the city of Jerusalem besides his chosen people, God judged the land and caused it to become barren while his people went into exile. As if the land had committed adultery, God said of Jerusalem, “And in thine abominations and thy whoredoms thou hast not remembered the days of thy youth, when thou wast naked and bare, and wast polluted with blood…Behold, therefore, I have stretched out my hand over thee, and have diminished thine ordinary food, and delivered thee unto the will of them that hate thee, the daughters of the Philistines, which are ashamed of thy lewd way” (Ezekiel 16:27).