Are you sure he became a monk? I found a book that kind of follows some of the same lines such as he was a thief that had three "ambitions" or vows. He stopped stealing, but still took money from the people.
The name of the book I found is "The Sly Thief of Valenciennes". Let me know if this is it...or close even.