New American Standard Bible (NASB)
Joshua 1
13 "Remember the word which Moses the servant of the Lord commanded you, saying, ’The Lord your God gives you rest and will give you this land.’
14 Your wives, your little ones, and your cattle shall remain in the land which Moses gave you beyond the Jordan, but you shall cross before your brothers in battle array, all your valiant warriors, and shall help them,
15 until the Lord gives your brothers rest, as He gives you, and they also possess the land which the Lord your God is giving them. Then you shall return to your own land, and possess that which Moses the servant of the Lord gave you beyond the Jordan toward the sunrise."
16 They answered Joshua, saying, "All that you have commanded us we will do, and wherever you send us we will go.
17 Just as we obeyed Moses in all things, so we will obey you; only may the Lord your God be with you as He was with Moses.
18 Anyone who rebels against your command and does not obey your words in all that you command him, shall be put to death; only be strong and courageous."
Joshua 2
1 Then Joshua the son of Nun sent two men as spies secretly from Shittim, saying, "Go, view the land, especially Jericho." So they went and came into the house of a harlot whose name was Rahab, and lodged there.
2 It was told the king of Jericho, saying, "Behold, men from the sons of Israel have come here tonight to search out the land."
3 And the king of Jericho sent word to Rahab, saying, "Bring out the men who have come to you, who have entered your house, for they have come to search out all the land."
4 But the woman had taken the two men and hidden them, and she said, "Yes, the men came to me, but I did not know where they were from.
5 It came about when it was time to shut the gate at dark, that the men went out; I do not know where the men went. Pursue them quickly, for you will overtake them."