David continually praised God, he fought to be upright with God and constantly prayed. It was this close relationship with God that said these things about David
David had a passion for worship to the point that his wife thought he was losing his mind. That shows how his heart was bending after the Lord. He also walked in confidence of the Lord’s promises even though there were dark times in his life.
Ultimately, David was a kind man who kept his promises and showed grace to others. His ultimate agenda was loving God and others.