According to Chazal, the spies weren't held accountable for their heresy but for their lashon hara. Maharal: