I think this is not good mindset because gambling don't have strategy you gamble money to be luck that's why accept when you lose and play again if you feel you are lucky. And don't always think that you will recover your losses and win because that will give you disappointment only.
Yes, when we can accept the loss and trying to get out of the gambling places, we will know that what we did is worth it because we don't have to feel another loss. Many people don't realize that, and that makes them continue to win back the losses which they cannot always get. Recover your losses is okay, but you should know and have a limit before you see all of your money is gone. It is better to stop while we still have a chance than trying to recover the losses.