In Psalm 30:11-12, we read, “Thou hast turned for me my mourning into dancing: thou hast put off my sackcloth and girded me with gladness; 12 To the end that my glory may sing praise to thee, and not be silent. O Lord my God, I will give thanks unto thee forever.” David is dedicating his house.