To be taxed with Mary. Women had to be enrolled also and were subject to the poll tax. Mary was of the line of David, and hence would also have to go to Bethlehem.