The Gemarah describes the debate that Yehoshua and Caleb had with the other spies.