Then Joshua built an altar unto the LORD God of Israel in mount Ebal, Then Joshua built an altar - This was done in obedience to the express command of God, Deuteronomy 27:4-8 (note).
Related Commentaries of Joshua 8:30
Joshua 8:30
30 Then Joshua built an altar unto the LORD God of Israel in mount Ebal,