What we think in our mind and in our heart, God knows. Not only does He know, but He will act on. See Psalm 101.
Whoever secretly slanders his neighbor, him I will destroy; No one who has a haughty look and an arrogant heart will I endure.
Psalms 101:5 NASB
God know our motivations and He desires that our motivations match His. Not only do we do what God desires that we do, but we are to do it for the same reasons that He does it. Have we checked our motivations lately? Would God be proud of them?