"Jews are taught that God judges you for what you do not what you think." They must not be taught from the Old Testment then.
Proverbs 21:2
All a man's ways seem right to him, but the LORD weighs the heart.
My religious instruction is from Lubavitch Hassidic Jews and I was taught that it is your actions that make you a good servant of God. Keeping the 613 (is that how many there are) Mitzvahs and so forth. The quote you pointed out refers seems to refer to God judging a person's (possibly wrong) actions by his intentions (heart). That's just my quick take anyway.