Nowicjuszka by Trudi Canavan

Set in a world where magic is a rare and revered skill, the story follows a young girl who unexpectedly discovers her own magical abilities. As she navigates the challenges of being a novice in a prestigious magical academy, she faces prejudice and rivalry from her peers. Her journey is one of self-discovery, resilience, and the pursuit of justice, as she uncovers dark secrets within the institution and learns to harness her powers to protect those she cares about.