Then Joshua built an altar to the God of Israel on Mount Ebal.
He built it following the instructions of Moses the servant of God to the People of Israel and written in the Book of The Revelation of Moses, an altar of whole stones that hadn't been chiseled or shaped by an iron tool. On it they offered to God Whole-Burnt-Offerings and sacrificed Peace-Offerings.
He also wrote out a copy of The Revelation of Moses on the stones. He wrote it with the People of Israel looking on.
All Israel was there, foreigners and citizens alike, with their elders, officers, and judges, standing on opposite sides of the Chest, facing the Levitical priests who carry God's Covenant Chest. Half of the people stood with their backs to Mount Gerizim and half with their backs to Mount Ebal to bless the People of Israel, just as Moses the servant of God had instructed earlier.
After that, he read out everything written in The Revelation, the Blessing and the Curse, everything in the Book of The Revelation.
There wasn't a word of all that Moses commanded that Joshua didn't read to the entire congregation - men, women, children, and foreigners who had been with them on the journey.