וַיֹּאמֶר יְהוָה אֱלֹהִים לֹא־טוֹב הֱיוֹת הָאָדָם לְבַדּ֑וֹ אֶעֱשֶׂהּ־לּוֹ עֵזֶר כְּנֶגְדּוֹ
And the LORD God said, “For the man to be by himself is not good. I will make for him a counterpart to complement him
The detailed commentary for this verse can be found here.
However, in its broader context, the role of women as revealed by this and other narratives is manifestly not one of servitude or a divine afterthought. If you have 9 minutes or so, sit back, listen, and reflect on women and flourishing of mankind.