Joshua and Caleb tried to stop the rebellion and prevent God's punishment. They tore their clothing to show their sorrow.