In a time of discouragement and doubt, David prays this Psalm as a plea for God to unite his heart by looking to Jesus and looking to what God is doing among the nations.