On one level Psalm 21 is the response to God answering the prayer of Psalm 20. If the King is truly and ultimately Jesus then we have a genuine perspective on life given the redemption that He would eventually bring to the world.