Joshua and Caleb realized that Israel's lack of courage and criticism of Moses and Aaron were acts of rebellion against the Lord. They knew the consequences of this rebellion.
the LORD is with us: This was the source of their confidence (compare Romans 8:31).