(2.) The prudent measures they took to gain the city. They sent spies to observe what part of the city was weakest, or which way they might make their attack with most advantage, v. 23. These spies got very good information from a man they providentially met with, who showed them a private way into the town, which was left unguarded because, being not generally known, no danger was suspected on that side. And here, [1.] He is not to be blamed for giving them this intelligence if he did it from a conviction that the Lord was with them, and that by his donation the land was theirs of right, any more than Rahab was for entertaining those whom she knew to be enemies of her country, but friends of God. Nor, [2.] Are those to be blamed who showed him mercy, gave him and his family not only their lives, but liberty to go wherever they pleased: for one good turn requires another. But, it seems, he would not join himself to the people of Israel, he feared them rather than loved them, and therefore he removed after a colony of the Hittites, which, it should seem, had gone into Arabia and settled there upon Joshua's invasion of the country; with them this man chose to dwell, and among them he built a city, a small one, we may suppose, such as planters commonly build, and in the name of it preserved the ancient name of his native city, Luz, an almond-tree, preferring this before its new name, which carried religion in it, Bethel—the house of God.