According to Matthew, Jesus was born during the reign of King Herod.1 Herod’s death, and therefore Jesus’s birth, was in 1 BC or earlier.
According to Luke, Jesus was born while Quirinius was governor of Syria. Quirinius became governor in AD 6, which means Jesus wasn’t born till several years after Herod died. So if Luke is right, Herod wouldn’t have even been around to try to kill Jesus, as Matthew claims he did.
Possible explanation
Maybe Jesus was born again after he was six years old.