Joshua 2:2-3
2:2 The king of Jericho received this report: “Note well! Israelite men have come here tonight to spy on the land.”
2:3 So the king of Jericho sent this order to Rahab: “Turn over the men who came to you – the ones who came to your house – for they have come to spy on the whole land!”
Joshua 6:25
6:25 Yet Joshua spared Rahab the prostitute, her father’s family, and all who belonged to her. She lives in Israel to this very day because she hid the messengers Joshua sent to spy on Jericho.
Joshua 7:2
7:2 Joshua sent men from Jericho to Ai (which is located near Beth Aven, east of Bethel) and instructed them, “Go up and spy on the land.” So the men went up and spied on Ai.
Joshua 14:7
14:7 I was forty years old when Moses, the Lord’s servant, sent me from Kadesh Barnea to spy on the land and I brought back to him an honest report.