How does the lawyer change from the beginning of "The Bet" to the end of his sentence?

He goes from being a passionate lawyer to a dispassionate prisoner.

He goes from being a very cocky and arrogant young man to a humble and timid old man.

He comes to believe that material wealth and possessions are a curse rather than a blessing.

He becomes confused by the outside world and escapes to a world of books.