The archaeological record, however, does not confirm this story. There is no evidence of the mass destruction described in the book of Joshua and no indication of a powerful foreign invasion. But this
narrative was not written to satisfy a modern historian; it is a national epic that helped Israel create a cultural identity distinct from her neighbors."
— Karen Armstrong, Fields of Blood - Religion and the History of Violence, 2014, pp. 104-5
The role of "myth" in nation creation?