How to mentally handle this aspect of gambling?

I bet on ping pong and my guy was winning and I couldve cashed out and it was quite a lot of money but I didn't bcs I hope he wasn't gonna fix the match and he lost despite the lead. I then had troubles not to chase that loss

How to mentally handle this aspect of gambling?
Post Opinion