Now Joshua built an altar to the Lord God of Israel in Mount Ebal,
as Moses the servant of the Lord had commanded the children of Israel, as it is written in the Book of the Law of Moses: "an altar of whole stones over which no man has wielded an iron tool." And they offered on it burnt offerings to the Lord, and sacrificed peace offerings.
References for Joshua 8:31
And there, in the presence of the children of Israel, he wrote on the stones a copy of the law of Moses, which he had written.
Then all Israel, with their elders and officers and judges, stood on either side of the ark before the priests, the Levites, who bore the ark of the covenant of the Lord, the stranger as well as he who was born among them. Half of them were in front of Mount Gerizim and half of them in front of Mount Ebal, as Moses the servant of the Lord had commanded before, that they should bless the people of Israel.
And afterward he read all the words of the law, the blessings and the cursings, according to all that is written in the Book of the Law.
There was not a word of all that Moses had commanded which Joshua did not read before all the assembly of Israel, with the women, the little ones, and the strangers who were living among them.