Psalm 94: 11 (also reference Psalm 139)
The Lord knows the thoughts of man that they are vanity.
Imagine that those around you knew your every thought, would you expect unconditional love or condemnation.
Our God knows us better than we know ourselves. Even our hidden thoughts are plain to him. He knows if they are benevolent and empathetic or malevolent and self-serving, yet His love for us is boundless and unchanging.
Blessed is the person who is willing to submit their every thought to Him; peace-of-mind and contentment will be their reward.