God covenanted with Noah and the world:
Then Noah built an altar to the Lord and took some of every clean animal and some of every clean bird and offered burnt offerings on the altar. And when the Lord smelled the pleasing aroma, the Lord said in his heart, “I will never again curse the ground because of man, for the intention of man’s heart is evil from his youth. Neither will I ever again strike down every living creature as I have done. While the earth remains, seedtime and harvest, cold and heat, summer and winter, day and night, shall not cease.” — Gen. 8:20-22
Jeremiah later gave a prophecy that seems to allude to this:
“Behold, the days are coming, declares the Lord, when I will make a new covenant with the house of Israel and the house of Judah, not like the covenant that I made with their fathers on the day when I took them by the hand to bring them out of the land of Egypt, my covenant that they broke, though I was their husband, declares the Lord. For this is the covenant that I will make with the house of Israel after those days, declares the Lord: I will put my law within them, and I will write it on their hearts. And I will be their God, and they shall be my people. And no longer shall each one teach his neighbor and each his brother, saying, ‘Know the Lord,’ for they shall all know me, from the least of them to the greatest, declares the Lord. For I will forgive their iniquity, and I will remember their sin no more.”
Thus says the Lord, who gives the sun for light by day and the fixed order of the moon and the stars for light by night, who stirs up the sea so that its waves roar—the Lord of hosts is his name: “If this fixed order departs from before me, declares the Lord, then shall the offspring of Israel cease from being a nation before me forever.”
Thus says the Lord: “If the heavens above can be measured, and the foundations of the earth below can be explored, then I will cast off all the offspring of Israel for all that they have done, declares the Lord.” — Jer. 31:31-37
I have suggested elsewhere that there are some subtleties here in Jeremiah that we typically overlook. For one, given its context, this passage has a dual fulfillment, fulfilled proximately and partially in the return from exile, and ultimately and fully in Jesus (Heb. 8-10). Furthermore, this passage and the quotations in Hebrews seem more interested with the question of whether God himself will bring an end to the covenant, and less interested in the question of whether particular individuals might break the covenant (a possibility which Hebrews itself countenances; e.g., Heb. 10:29).
Jeremiah’s apparent allusion to Genesis strengthens the notion that he is stressing God’s commitment not to end the covenant. Through Noah, God covenanted with the world that he would not destroy it. Through Jeremiah and now Jesus, God covenants with his people that he will establish them forever, never again leaving them a mere remnant in the earth.
Here is where this prophecy’s ultimate fulfillment in Jesus comes into the foreground. There was to be a remnant of the true Israel at the establishment of the church (Acts 15:16-17, Rom. 11:5). But Jeremiah and Hebrews give us the amazing assurance that, from Jesus’s resurrection onwards, there will never again be a mere remnant of the church. After Israel put her husband to death, the resurrected husband was united to a resurrected bride, “never to die again” (Rom. 6:9).