It happened, when the king of Ai saw it, that they hurried and rose up early, and the men of the city went out against Israel to battle, he and all his people, at the time appointed, before the Arabah; but he didn't know that there was an ambush against him behind the city.
The people gathered at the mountains Gerizim and Ebal, on either side of Shechem, to collectively declare their loyalty to the covenant. The six tribes who gathered at Mt Gerizim answered ‘Amen’ as the blessings of the law were read. The six tribes who gathered at Mt Ebal answered ‘Amen’ as the curses for disobedience were read (33-35; cf. Deuteronomy 27:11-14).