The city of Jericho had not been officially rebuilt (see 1 Kings 16:34). However, the site lay next to the largest and most reliable spring in the land, so people continued to live nearby.
Anyone traveling from Ammon to Jerusalem would pass by this area. Because of this, Jericho provided a quiet and private place where the men could stay hidden while they recovered from their humiliation.