People may be right in their own eyes,
but the LORD examines their heart.
Sometimes, that verse isn't a comfort. Sometimes, it's a reminder that we can't be fake because God knows when we're just going through the motions instead of giving our whole heart. Sometimes, knowing that God is seeing your heart is an uncomfortable feeling.
At first glance, that's all this verse is saying--that God knows our intentions.
Like so many verses, though, if you read it again you might get a different meaning. Let's pull another verse into the mix:
Delight yourself in the LORD
and He will give you the desires of your heart.
Maybe there's more to that verse from Proverbs than meets the eye. Maybe, when you link it with the verse from Psalm, it takes on a more comforting meaning.
God knows your heart, which means that He knows you better than anyone else in all of creation--even including yourself. If He examines your heart, He knows what your heart truly desires.
People talk all the time about following the desires of your heart, because those are the desires God gave you. The thing is, in our humanness, we often fall short of knowing what those desires truly are. We can chase after dreams that we think are God's plan for our life, plans that seem grand and amazing.
Your plans are all well and good, but His plans are what will ensure your heart's desire. Trust Him, trust His plan, and let Him guide your steps.
He knows your heart.