Sam Hamstra presents it well:
The scene of a new heaven and earth (Revelation 21:1-8), enriched by the holy city and a garden similar to Eden, bears remarkable similarities to its predecessor as described in the first book of the Bible.
In Genesis God created the heaven and the earth; in Revelation we read of a new heaven and earth (21:1).
In Genesis the luminaries are called into being; in Revelation the glory of the Lord lights the city.
In Genesis we read of the cunning power of Satan; in Revelation the devil is bound and hurled into the lake of fire (20:10).
In Genesis we read of paradise lost; in Revelation paradise is restored.
Genesis describes the divorce of humankind as Adam and Eve run from God; in Revelation the redeemed enjoy intimate fellowship of marriage to the Lamb.
In Genesis nature threatens the security of and hurts humanity; in Revelation nature sustains and comforts people.
In Genesis the tree of life is protected by an angel lest anyone eat its fruit; Revelation restores humanity’s access to the fruit (22:14).
This obvious correlation between the first and last books of the Bible illustrates the fulfillment of the first Messianic prophecy (Genesis 3:15) and God’s faithfulness to the covenant (Revelation 21:3). (Taken from Sam Hamstra’s chapter in Four Views on the Book of Revelation, p. 123).
From beginning to end, the Bible is a book about God. It’s about His creation, His promise, His work and faithfulness in fulfilling it; all for the purpose of His excellence being made known to all watching eyes.