Contradiction with Deuteronomy 24:16
This verse states that children shall not be put to death for the sins of their parents, yet Joshua 7:18 leads to the punishment of Achan's entire household for his sin.
Deuteronomy 24:16: The fathers shall not be put to death for the children, neither shall the children be put to death for the fathers: every man shall be put to death for his own sin.