Yahweh made astonishing promises to David in (2 Samuel 7). The prophets and psalmists interpret the promises to David and the patterns that preceded Him to point forward to what Yahweh will accomplish when He brings these things to pass. Psalm 72 seems to be David's prayer for Solomon (Psalm 72:20). David prays that the enemies of his son, the seed of promise (2 Samuel 7), will lick the dust like their father the Devil (Psalm 72:9; Genesis 3:14). He prays that the oppressors will be crushed (Psalm 72:4; Genesis 3:15). He prays that the seed of David will have a great name like what Yahweh promised to Abraham and that, as Yahweh promised to Abraham, the nations will be blessed in Him (Psalm 72:17; Genesis 12:1-3).
All this culminates in David's prayer that Yahweh will accomplish what He set out to do at creation and fill the earth with His glory (Psalm 72:19; Numbers 14:21). One example of prophetic interpretation of these passages, and there are many, is Isaiah chapter 11. Isaiah clearly has the promises to David from 2 Samuel 7 in view when he speaks of the "shoot from the stump of Jesse" (Isaiah 11:1). The Spirit of Yahweh will rest on Him in fullness (Isaiah 11:2), and He will bring justice and peace (Isaiah 11:3-5). These events are likened later in the chapter to the Exodus from Egypt (Isaiah 11:16), and they pertain to the regathering of Israel after the exile from the land (Isaiah 11:11). These realities make what Isaiah says in verse 8 all the more remarkable: The nursing child shall play over the hole of the cobra, and the weaned child shall put his hand on the adder's den.
When the King from Jesse arises to accomplish the New Exodus, the Greater Exodus, the return from exile, it will not merely be a return from the exile from the land of Israel, but also a return from the exile from Eden. When Yeshua HaMashiach, the King of Kings from David's line reigns with a rod of iron for a 1000 years after the 2nd coming (Revelation 19:14; Zechariah 14:4,5), the enmity between the seed of the woman and the seed of the serpent introduced in Genesis 3:15 will be no more. That's what Isaiah is getting at when he speaks of babies playing with snakes and fearing no ill. Evil WILL BE abolished. No more curse. And when Yahweh keeps the promise of Genesis 3:15 through the promises made to David in 2 Samuel 7, as in Psalm 72:19, so in Isaiah 11:9, the earth shall be full of the knowledge of the Lord as the waters cover the sea.