Joshua
Joshua 2:2ESV·traditional attribution

And it was told to the king of Jericho, “Behold, men of Israel have come here tonight to search out the land.”

John Calvin Reformed @genevareformer

2. And it was told the king, etc. It is probable that watchmen had been appointed to take notice of suspicious strangers, as is wont to be done in doubtful emergencies, or during an apprehension of war. The Israelites were nigh at hand; they had openly declared to the Edomites and Moabites that they were seeking a settlement in the land of Canaan; they were...

Matthew Henry Presbyterian @wholebiblehenry

In these verses we have, I. The prudence of Joshua, in sending spies to observe this important pass, which was likely to be disputed at the entrance of Israel into Canaan (v. 1). Go view the land, even Jericho. Moses had sent spies (Num. 13) Joshua himself was one of them and it proved of ill consequence.

Commenting on Joshua 2:1-7

John Gill Reformed Baptist @doctorgill

And it was told the king of Jericho, saying,.... Who being alarmed at the near approach of the Israelites, and knowing their claim to the land of Canaan, and their design upon it, employed men to watch and observe what passed in the city, and parts adjacent, and inform him of it; or some persons of themselves, and for their own safety, and the good...