Joshua says that those who try to rebuild Jericho will be accursed by God, and will have to sacrifice both their oldest
and their youngest sons in its construction.
And according to 1 Kg 16:34 this prophecy was fulfilled, when
Hiel rebuilt Jericho, laying the foundation with his oldest son and the gate with his youngest son
"according the word of the Lord." 6:26