This question already has an answer here:
First of all thank you for reading and having the patience of doing so.
My summary is very weak but strong in the mind =)
What I remember from the book is that magic is common among females and not males, because of a prophecy that when a male can do magic, he will destroy the world/conquer the world.
Also the main character is a teenage boy who gets found out by an unknown attack on his village. He's accompanied by a female elder and a rogue who's a king from the borderlands.
I remember clearly that the rogue teaches him about swordplay and about the void to think about a fire and make it grow to remain calm.