So Moses, by יהוה’s command, sent them out from the wilderness of Paran, all of them being men of consequence, leaders of the Israelites.
כלם אנשים ALL OF THEM WERE MEN — Wherever the term אנשים, “men”, is used in Scripture it is a term denoting worthiness. These men, [though they later sinned] but at that time [when they were appointed] they were worthy men.
They went straight to Moses and Aaron and the whole Israelite community at Kadesh in the wilderness of Paran, and they made their report to them and to the whole community, as they showed them the fruit of the land.
וילכו ויבאו AND THEY WENT AND CAME [TO MOSES] — What is the force of “they went” (we have been informed that they had returned; why afterwards make any reference to their going on the journey)? It is intended to compare their “going” with their “coming" to Moses! How was their coming to Moses? With an evil plan! So, too, was their “going” on the journey with an evil plan (i.e. that when they were travelling they had already resolved to bring back an evil report)! (Sotah 35a).
The same applies to an entire country. If the merits of all its inhabitants exceed their sins, it is [termed] righteous. If their sins are greater, it is [termed] wicked. The same applies to the entire world.