In Islam the primary role isn't motherhood. The primary role is being a lover to her husband.
Imam Ali’s (P)
جهاد المراة حسن التبعل
“A woman’s jihad (as a wife) is having good behavior towards the
Having kids is one of the most possible outcomes and of the main byproducts of having good care for her husband.