Who - David writes a song of commitment to the LORD.
What - David is making a promise to the LORD of how he will live. It is a promise to live in a covenant with the LORD. All the promises David makes to the LORD are aspects or components of covenantal living, to call and affirm good that which the LORD has called good and evil what the LORD has called evil.
This song is also a praise and a request. David praises the LORD for His steadfast love and justice. David's only request in this song is for the LORD to come to David.
While this psalm is a personal pledge to the LORD by David, it is also a psalm that describes the perfect king and the perfect people. It is describing the perfect Davidic king, the one promised in 2 Samuel chapter 7. Therefore, it is a psalm that describes the Messiah.
When - Unstated, but it must be early in David’s life or early in his kingship. He would not say these things in this way after Bathsheba and Absalom.
Where - Unstated
