She brought forth her firstborn son, and she wrapped him in bands of cloth, and laid him in a feeding trough, because there was no room for them in the inn.
She had a son; she had to go through forty days of purification. If she had a daughter, she would have gone through eighty days of purification. Sort of a punishment for having a girl. Forty days of purification were accomplished.