Don't remember a whole lot about this book, but I recall it was very long. Like over 1000 pages. The main protagonist got a really powerful sword and gave it to one of his friends, which then caused someone else to betray him, kill all his friends, take the sword and the main character ends up in slavery or something similar.
He ends up meeting someone powerful who he tells about what happened to him so he brings the guy who betrayed the main character. This is probably the part I remember best, he says apologize, so the main character starts apologizing and then he says something along the lines of "no not you" which means he believed the main character and he gets his sword back.