Contradiction with Exodus 20:3
This verse commands having no other gods beside God, which can contradict the presence of a divine being like the "captain of the host of the LORD" being worshipped or revered in Joshua 5:14.
Exodus 20:3: Thou shalt have no other gods before me.
Contradiction with Isaiah 42:8
This verse states that God does not share His glory with another, which can contradict the reverence shown to the "captain of the host of the LORD."
Isaiah 42:8: I [am] the LORD: that [is] my name: and my glory will I not give to another, neither my praise to graven images.
Contradiction with Deuteronomy 6:13
This verse commands to only fear the LORD and serve Him, which may contradict the act of Joshua falling on his face and worshipping in Joshua 5:14.
Deuteronomy 6:13: Thou shalt fear the LORD thy God, and serve him, and shalt swear by his name.
Contradiction with Exodus 34:14
This verse emphasizes not worshiping any other god, which can be seen as contradictory to Joshua's act of worship toward the "captain of the host of the LORD."
Exodus 34:14: For thou shalt worship no other god: for the LORD, whose name [is] Jealous, [is] a jealous God:
Contradiction with Matthew 4:10
This verse reinforces worship and service exclusively to God, contradicting the worship directed at the "captain of the host of the LORD."
Matthew 4:10: Then saith Jesus unto him, Get thee hence, Satan: for it is written, Thou shalt worship the Lord thy God, and him only shalt thou serve.
Contradiction with Revelation 19:10
This verse shows John being corrected for worshipping an angel, suggesting a possible contradiction in worshipping a being other than God as Joshua did.
Revelation 19:10: And I fell at his feet to worship him. And he said unto me, See [thou do it] not: I am thy fellowservant, and of thy brethren that have the testimony of Jesus: worship God: for the testimony of Jesus is the spirit of prophecy.