In I Corinthians 4:5 it tells us that God will bring to light what is hidden in darkness and will expose the motives of men’s hearts. The life of our heart is a hidden life…or so we think. But God knows all, sees all, understands all, and will forgive all if asked. And in doing so we’ll be given a new heart…exchanging our heart of stone for a heart of flesh.
David was known as a man after God’s own heart, and in this prayer we see him understanding that God examines the heart to determine the essential character of a person…especially integrity. For David knew that the Lord took delight in those who conducted themselves in a upright, just, and fair manner towards others.