Contradiction with Matthew 5:44
Numbers 21:22 involves seeking permission for peaceful passage, while Matthew 5:44 advocates for loving enemies and doing good irrespective of permissions.
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;
Contradiction with Romans 12:18
Numbers 21:22 asks for peace conditional on passage, whereas Romans 12:18 calls for unconditional peace with all.
Romans 12:18: If it be possible, as much as lieth in you, live peaceably with all men.
Contradiction with Exodus 23:31-33
Numbers 21:22 asks peacefully for passage, while Exodus 23:31-33 commands to drive out inhabitants of the land.
Exodus 23:31-33: And I will set thy bounds from the Red sea even unto the sea of the Philistines, and from the desert unto the river: for I will deliver the inhabitants of the land into your hand; and thou shalt drive them out before thee.
Contradiction with Deuteronomy 20:16-17
Numbers 21:22 requests peaceful passage, but Deuteronomy 20:16-17 instructs to leave none alive in certain cities.
Deuteronomy 20:16-17: But of the cities of these people, which the LORD thy God doth give thee [for] an inheritance, thou shalt save alive nothing that breatheth:
Contradiction with Joshua 11:20
Numbers 21:22 requests peace, whereas Joshua 11:20 explains how God hardened hearts for war, leaving no room for peace.
Joshua 11:20: For it was of the LORD to harden their hearts, that they should come against Israel in battle, that he might destroy them utterly, [and] that they might have no favour, but that he might destroy them, as the LORD commanded Moses.
Contradiction with 1 Samuel 15:3
Numbers 21:22 seeks peaceful passage through foreign land, but 1 Samuel 15:3 commands to destroy utterly all in an enemy land.
1 Samuel 15:3: Now go and smite Amalek, and utterly destroy all that they have, and spare them not; but slay both man and woman, infant and suckling, ox and sheep, camel and ass.
Contradiction with Leviticus 26:7-8
Numbers 21:22 is about not engaging in conflict, whereas Leviticus 26:7-8 promises victory if battles are pursued.
Leviticus 26:7-8: And ye shall chase your enemies, and they shall fall before you by the sword.
Contradiction with Deuteronomy 7:2
Numbers 21:22 advocates for peace, but Deuteronomy 7:2 commands to make no treaties with the inhabitants but to destroy them.
Deuteronomy 7:2: And when the LORD thy God shall deliver them before thee; thou shalt smite them, [and] utterly destroy them; thou shalt make no covenant with them, nor shew mercy unto them: