Luke 2:1 And it came to pass in those days, that there went out a decree from Caesar Augustus, that all the world should be taxed. 2 (And this taxing was first made when Cyrenius was governor of Syria.) 3 And all went to be taxed, every one into his own city.
Luke 2:4 And Joseph also went up from Galilee, out of the city of Nazareth, into Judaea, unto the city of David, which is called Bethlehem; (because he was of the house and lineage of David:) 5 To be taxed with Mary his espoused wife, being great with child. 6 And so it was, that, while they were there, the days were accomplished that she should be delivered.
|Matt 2:1a Now when Jesus was born in Bethlehem  of Judaea in the days of Herod the king,||Luke 2:7 And she brought forth her firstborn son, and wrapped him in swaddling clothes, and laid him in a manger; because there was no room for them in the inn.||John 1:14 And the Word was made flesh, and dwelt among us, (and we beheld his glory, the glory as of the only begotten of the Father,) full of grace and truth .|
Micah 5:2 But thou, Bethlehem Ephratah, though thou be little among the thousands of Judah, yet out of thee shall he come forth unto me that is to be ruler in Israel; whose goings forth have been from of old, from everlasting.
Note that John believed Jesus to be from Galilee, not Bethlehem (John 7:41).