“Nevertheless I will remember My covenant with thee in the days of thy youth, and I will establish unto thee an everlasting covenant. Then thou shalt remember thy ways, and be ashamed, when thou shalt receive thy sisters, thine elder and thy younger: and I will give them unto thee for daughters, but not by thy covenant. And I will establish My covenant with thee; and thou shalt know that I am the LORD: that thou mayest remember, and be confounded, and never open thy mouth any more because of thy shame, when I am pacified toward thee for all that thou hast done, saith the Lord GOD.” Ezekiel 16:60-63 (KJV)
The covenant God had given to Israel was through Abraham. Though the nation had been judged, was being judged, and would be judged some more God would not forget His covenant with Abraham.
The following is quoted from the Jeremiah Study Bible notes for the above verses:
As fierce and catastrophic as the coming judgment would be, God reiterates His commitment to Jerusalem to one day restore her, give her a new heart that would follow after God, and bring her once more to regional pre-eminence. We see here both God’s commitment to keep the covenant He had made with Abraham to give his descendants the Promised Land forever, and also His lavish grace in restoring Sodom and Samaria to Jerusalem as daughters, not sisters. God would provide atonement for Israel’s sins through the sacrifice of Jesus Christ His Son.
May all Christians rest in the peace of knowing that God is a Covenant keeping God. What He has said will not fail to come to pass. Not one word will return to Him void.