Contradiction with Exodus 23:1
Advises not to spread false reports, while Joshua 2:2 supports espionage, which often involves deception.
Exodus 23:1: Thou shalt not raise a false report: put not thine hand with the wicked to be an unrighteous witness. [raise: or, receive]
Contradiction with Proverbs 12:22
Lying lips are an abomination, whereas Joshua 2:2 involves a deceptive event.
Proverbs 12:22: Lying lips [are] abomination to the LORD: but they that deal truly [are] his delight.
Contradiction with Colossians 3:9
Instructs not to lie, yet the context of Joshua 2:2 involves misleading actions.
Colossians 3:9: Lie not one to another, seeing that ye have put off the old man with his deeds;
Contradiction with Romans 13:1
Encourages submission to authorities, versus Joshua 2:2 endorsing action against a city's ruler.
Romans 13:1: Let every soul be subject unto the higher powers. For there is no power but of God: the powers that be are ordained of God. [ordained: or, ordered]
Contradiction with Matthew 5:44
Advises to love enemies, contrasting the intentions in Joshua 2:2 to overthrow them.
Matthew 5:44: But I say unto you, Love your enemies, bless them that curse you, do good to them that hate you, and pray for them which despitefully use you, and persecute you;