Luke 2:4-5

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.

Click here to see this verse in context