Equal Rites by Terry Pratchett

A newborn unexpectedly inherits a wizard's staff, setting off a comic-fantastical tale about a girl determined to study wizardry in a world where magical roles are rigidly divided by gender. Raised with the tough, practical wisdom of a village witch and guided by a sharp, no-nonsense mentor, she challenges tradition, confronts academic wizards, and discovers that talent and power don't depend on the boxes society builds. The story is a witty, humane exploration of identity, authority, and what it really means to be powerful.

Purchase from Bookshop.org