Well if he at least took something from that and became a better person thanks to this experience then who are we to judge?
Everyone will be ashamed of what they have done in the past. I was ashamed of myself in the past as well because I used to spend a huge amount to gamble every single day, sometimes I win and ended up losing everything again. I was very stupid before and now I regret it , which is why now I only gamble for fun