Here we see that the whole reason that God was sorry that He had created mankind was that the thoughts and intents of all men were constantly evil, and that they meditated continually upon wickedness. You can be sure that God is not pleased with thoughts of this nature, and that they will provoke His judgment. You can be sure that your thoughts, whether evil or good, will eventually blossom forth into deeds. Our thoughts and our actions are so closely related that God is able to judge us on the basis of our deeds, even though it is our thoughts that concern Him. Many people think that if they do something evil in secret, that nobody will know the difference.
Nothing can be further from the truth.
The converse is also true. If you do good out of good motivations, this will eventually become unmistakably clear to everyone. You can be quite sure that the good deeds that you have done out of a pure heart will also find you out. Their deeds follow with them. In other words, the good that they have done with altruistic motivations flow with them past the grave into eternity.