A Wife's Rebellion Against Her Husband is major sin 47 in al-Dhahabi's Major Sins (pdf). Generally, this is interpreted as meaning any sharia-compliant instruction:
Obedience is the first right that Islam acknowledges for the husband over his wife. She is required to obey him in everything unless he commands her to do an act of disobedience.
IslamWeb
Doing otherwise is being rebellious. Generally, there's an underlying assumption that the husband is being a reasonable Muslim, and he has his wife's best interests in mind.
If there's a foreseeable risk of some path leading to sin, then we're encouraged to avoid it. If a woman foresees becoming a rebellious wife, it seems like the woman should avoid getting married, but this goes against the sunnah.
Question: Should a woman avoid getting married out of fear of becoming a rebellious wife?
For example, a career woman could have her career destroyed (along with a lifetime of hard work) when her husband decides he wants her to focus on housework, cooking, and sex. Such a woman might refuse to sacrifice her life, thereby becoming rebellious.