3:3 David believed God had not abandoned him but viewed Him as his real source of protection, his "shield."This figure is common in the psalms (cf. 7:10; 18:2, 30; 28:7; 33:20; 59:11; 84:11; 115:9-11; 119:114; 144:2). "My glory"reflects the honor of serving the eternal God. The king was confident God would restore him to his throne. The expression "lift the head"means to restore to dignity and position (cf. Gen. 40:13, 20; 2 Kings 25:27 [AV]).28The basis for David's confidence was the Lord's choice of him as Israel's king and His lack of choice of Absalom.
3:4-5 David viewed God's preservation of him through the night before he wrote this psalm as a token confirmation of God's complete deliverance from Absalom. The king had petitioned God in prayer for safety, and the Lord had answered from Mount Zion where David had pitched a tent for the ark of the covenant (2 Sam. 6:17).29The Lord's answer was His protection through the night (cf. 2 Sam 17:16, 21-22).
3:6 On the basis of this deliverance David received confidence that God would give him final victory over his thousands of enemies.