It is not because of beauty, wealth, relatives, or sons

that a woman has a good rebirth

but because of

ETHICAL CONDUCT

Hētu Sutta

Saɱyutta Nikāya – Saḷāyatana Vagga – Mātugāma Saɱyutta – Bala Vagga

“Bhikkhus, there are these five powers of a woman. What are the five?

The power of beauty, the power of wealth, the power of relatives, the power of sons, the power of virtue.

Bhikkhus, it is not because of the power of beauty, or the power of wealth, or the power of relatives, or the power of sons, that with the breakup of the body, after death, a woman is reborn in a good destination, in a heavenly world. 

It is because of the power of virtue that a woman is reborn in a good destination, in a heavenly world.

From the book : ‘The connected discourses of the Buddha’ (Bhikkhu Bodhi)