Joshua 8 is the eighth chapter of the Book of Joshua in the Hebrew Bible or in the Old Testament of the Christian Bible. According to Jewish tradition the book was attributed to the Joshua, with additions by the high priests Eleazar and Phinehas, but modern scholars view it as part of the Deuteronomistic History, which spans the books of Deuteronomy to 2 Kings, attributed to nationalistic and devotedly Yahwistic writers during the time of the reformer Judean king Josiah in 7th century BCE. This chapter focuses on the conquest of Ai under the leadership of Joshua and the renewal of covenant on Mounts Ebal and Gerizim, a part of a section comprising Joshua 5:13–12:24 about the conquest of Canaan.