The house Rahab lived in was built on the city wall, so she used a rope to let the men down through a window.