Contradiction with Matthew 2:21
Matthew 2:14 describes Joseph's departure to Egypt, while 2:21 describes their return, which is a different action.
Matthew 2:21: But when he heard that Archelaus did reign in Judaea in the room of his father Herod, he was afraid to go thither: notwithstanding, being warned of God in a dream, he turned aside into the parts of Galilee:
Contradiction with Luke 2:39
This verse states that after completing everything required by the law, they returned to Galilee, which could suggest no trip to Egypt.
Luke 2:39: And when they had performed all things according to the law of the Lord, they returned into Galilee, to their own city Nazareth.
Paradox #1
There are debates about the historical accuracy of the journey described since there is limited evidence outside the biblical text for the event, and historical records about related figures and events are sparse. Some scholars are skeptical about the timeline and geographical feasibility of the journey.