Joshua 6:24-26

MLV(i) 24 And they burnt the city with fire and all that was in it. Only the silver and the gold and the vessels of brass and of iron, they put into the treasury of the house of Jehovah.
25 But Joshua saved alive Rahab the prostitute and her father's household and all that she had. And she dwelt in the midst of Israel to this day, because she hid the messengers whom Joshua sent to spy out Jericho.
26 And Joshua charged them with an oath at that time, saying, Cursed be the man before Jehovah who rises up and builds this city Jericho. With the loss of his firstborn he will lay the foundation of it and with the loss of his youngest son he will set up the gates of it.