Luke 2:5
He went there to register with Mary, who was pledged to him in marriage and was expecting a child.
Berean Standard Bible
To be taxed with Mary his espoused wife, being great with child.
to enroll himself with Mary, who was pledged to be married to him as wife, being pregnant.