I believe that God VIEWS our Motives for doing something~ as MORE important than He does our Actions in doing it.
The Lord wants us to do the right thing for the RIGHT reasons, and not be doing the right thing for THE WRONG REASONS.
You see, Motives are related to the HEART, not to our emotions. God looks at the core ROOT and the INNER being of us, and He can discern EVERYTHING. (Hebrews 4:12)
He is the one who SEARCHES our heart, and SEEKS to clear us of any guilt or UnGodly thing in us. He searches our heart NOT to find faults & flaws (because He already know we have them) but to make us AWARE of our issues that need to be DEALT WITH. (PSALM.139:23-24)