Quran 4:34
Men are in charge of women by [right of] what Allāh has given one over the other and what they spend from their wealth. So righteous women are devoutly obedient, guarding in [the husband's] absence what Allāh would have them guard.2 But those from whom you fear arrogance - [first] advise them; , forsake them in bed; and , beat them .4 But if they obey you , seek no means against them. Indeed, Allāh is ever Exalted and Grand.
Nowhere is education banned for women specifically
Quran 4:34 Men are in charge of women by [right of] what Allāh has given one over the other and what they spend from their wealth. So righteous women are devoutly obedient, guarding in [the husband's] absence what Allāh would have them guard.2 But those from whom you fear arrogance - [first] advise them; , forsake them in bed; and , beat them .4 But if they obey you , seek no means against them. Indeed, Allāh is ever Exalted and Grand.
They are only allowed islamic education according to ijmaa https://youtu.be/sluWhFVw7h0?si=mc-OOq_hejDY02c_&t=525