Thoughts on player party betrayals?

In my current campaign one of my party member just betrayed the group by blowing us up and leaving with some items. I was curious on other people’s thoughts since I think party betrayals are very edge lord and kinda dumb.