Commentators explain that the phrase "sent to spy out" indicates a formal military action. This was not a casual look but a strategic reconnaissance mission to identify the city's defenses, access points, and weaknesses in preparation for a siege. This highlights the practical, human effort involved in the conquest.