Is it problematic to write a female villain in a story set in 1695?

That was a bad time for women, and I have a female villain in that time.

Will I get cancelled in 2026?

Updates
2 mo
I should mention I’ve already gotten crap for this.
Is it problematic to write a female villain in a story set in 1695?
Post Opinion