وجدت داود بن يسى رجلا حسب قلبي، الذي سيصنع كل مشيئتي” الرابي دانيال”
The heart is seen as the seat of desire.
King David made all his desires G-d’s desires. So to speak. G-d has no desires for Himself. He is not lacking. It is what He desires of us. To follow in His ways, laws, etc.
King David purged his heart of all worldly desires and sought after only spiritual ones.
The idea of in Messianic times when God will write His laws upon our hearts, that means that all the phony desires of this world will be replaced with truth and reality. Only Godly desires.
We’ll all become mini King David’s.