The frailty of Man and what could lead to the futility of life is presented to the "Everlasting Creator" in the later portion of Moses' prayer. The solution to the vanity of life?--fellowship with one's Creator and Savior. Moses also asks for encouragement in this life's pursuits as well.
In this prayer of Moses he addresses the Lord as Creator. In it Moses describes the vast difference between God's transcendence and Man's transience. This Psalm is referred to by 3 New Testament writers, and phrases from this well known Psalm are frequently quoted by God's people today.
These two Psalms were written during the Babylonian captivity. The temple, Jerusalem and God's people are all downtrodden. The Psalmists recall the Creator's power and plead that He restore His place, His people and His name to its proper exalted position in the world.
In this prayer which was also set to music, David praises the Creator for His common grace bestowed on all who dwell in the earth. He also alludes to the fact that the signs evident in creation cause everyone, everywhere to be in awe.