6:26Meaning
Joshua binds the people with an oath and curse Joshua issues a formal, time-specific charge (“at that time”) and makes the warning religiously weighty by stating it “before Yahweh” Yahweh. The target is any person who “rises up” to rebuild Jericho. The curse describes the cost in terms of family loss: the rebuilder will lay the foundation at the price of his firstborn, and he will set up the gates at the price of his youngest son. The language ties the beginning and completion of rebuilding to tragedy at both ends.
