Luke 2:4-5

Joseph also went up from Galilee, out of the city of Nazareth, into Judea, to the city of David, which is called Bethlehem, because he was of the house and lineage of David,  to be registered with Mary, his betrothed wife, who was with child.