That's not true, Judaism was.
Of course Nazis were strongly anti communist, but they toned down this rhetoric a lot from 39 to 41 and as I said, it's a fact that Stalin did not know that war with germany was coming in the general timeframe that it did, and therefore the red army wasn't prepared.