Then they both proceeded , till , when they came to the people of a town , they asked them for food , but they refused to entertain them . Then they found therein a wall about to collapse and he ( Khidr ) set it up straight .