Luke 2:5
to enroll himself with Mary, who was pledged to be married to him as wife, being pregnant.
World English Bible (Public Domain)
In context
Before · Luke 2:3–4
3All went to enroll themselves, everyone to his own city. 4Joseph also went up from Galilee, out of the city of Nazareth, into Judea, to David’s city, which is called Bethlehem, because he was of the house and family of David,
5to enroll himself with Mary, who was pledged to be married to him as wife, being pregnant.