Luke 2:3-4

2:3 Everyone went to his own town to be registered. 2:4 So Joseph also went up from the town of Nazareth in Galilee to Judea, to the city of David called Bethlehem, because he was of the house and family line of David.