First, let me ask you: which is better, losing money or making a profit? Let's be realistic, wouldn't we all prefer to make money than lose it? Obviously, your friend's fate is much better than yours, but this isn't about regret; it's about risk. Didn't you know you would lose in the end? Of course.
Therefore, losing isn't something to regret because the outcome of gambling is always unpredictable. The point is, if you lose, it means you're just unlucky. It's that simple.

I agree with your comment, to be honest we would all love to make profits than making loss. Who would want to loss no one of course so making profits will be chosen by everyone.
Gambling is just about win or loss and that just the bitter truth behind it so let not deceive ourselves, if we win we take it as luck and if we face loss let still take it as luck was not at our side.