Background
Covenant pictured as marriage
Background to Ezekiel 16 and 23
The prophets often describe God's covenant with Israel as a marriage. The LORD chose his people, bound himself to them by oath and gave them everything (16:8–14). Worshiping other gods, or trusting foreign powers instead of him, was therefore not a small slip but unfaithfulness to a husband (compare Jer 3; Hos 1–3).
Ezekiel tells this story twice at great length: Jerusalem as a foundling rescued and married (chapter 16), and Samaria and Jerusalem as two sisters, Oholah and Oholibah (chapter 23). The language is deliberately shocking, because sin had become normal to its hearers. It describes nations and their worship, not real women.
The story does not end in rejection. God remembers his covenant and promises an everlasting one (16:60–63). The New Testament calls the church the bride of Christ, loved and cleansed by him (Eph 5:25–27).
In Scripture
Ezekiel 16; 23