David was a man who loved the Lord, and the Lord loved him.
God named His own Son, “the Son of David” (Mat. 1:1), that in itself, is amazing. The Son of God called the “son of” an angry man, the son of a murderer, the son of a liar, the son of an adulterer, and so on? That is what a Son of David means. But God is a God of forgiveness, new beginnings, and grace. That is what makes David such a compelling figure in the Scriptures: David broke all Ten of the Commandments, and God loved David, called him the man after His own heart, and named Jesus the Son of David.