He did something really dumb, that’s inarguable. However I do believe some of the comments on here are a big much.
24 is not 18, but 24 is also not 34 and 44. 99.99% of 24 year olds are prone to idiotic behaviour. The way you learn in life is by making mistakes and failing.
The true issue of this error is that it could hand gone much worse, and by the grace of all that is mighty it didn’t.
As that worst didn’t occur, we must take it for what happened. He did a really stupid thing, one we probably all agree is regrets immensely, and will wear consequences for that. I also think, as previously mentioned, that we learn from mistakes, this will be a mammoth come to Jesus moment for him and I’ll be surprised if he makes the same mistake again.