Contradiction with Matthew 13:32
In Ezekiel 17:23, the tree refers to a great and noble cedar, while in Matthew 13:32, the mustard seed, which becomes a tree, is described as the least of all seeds yet grows into the greatest among herbs.
Matthew 13:32: Which indeed is the least of all seeds: but when it is grown, it is the greatest among herbs, and becometh a tree, so that the birds of the air come and lodge in the branches thereof.
Contradiction with Isaiah 2:13
Ezekiel 17:23 speaks of God planting the cedar on a high mountain, symbolizing restoration and blessing, whereas Isaiah 2:13 speaks of God's judgment against the cedars of Lebanon, which are high and lifted up.
Isaiah 2:13: And upon all the cedars of Lebanon, [that are] high and lifted up, and upon all the oaks of Bashan,
Contradiction with Ezekiel 31:3-14
While Ezekiel 17:23 describes a tree symbolizing thriving and protection, Ezekiel 31:3-14 warns about the fall of a great tree (Assyria), emphasizing downfall and destruction instead of growth and prosperity.
Ezekiel 31:3-14: Behold, the Assyrian [was] a cedar in Lebanon with fair branches, and with a shadowing shroud, and of an high stature; and his top was among the thick boughs. [with fair branches: Heb. fair of branches]