The king of Jericho was told that some men of Israel had come that night to find out about the country,