Sometimes I think luck is a place of mental peace because when we lose most of the time we blame luck similarly if we win, it is because of luck (in most time betting /gambling). In fact what should your own feeling be? This question may seem to most of us gamblers that if an experienced gambler loses the same way, then how is it possible to identify the main algorithm of gambling?
I think the answer to this question may be easy or it may be very difficult, but the secret between us continuing to gamble and winning or losing is a manifestation of the latent state between the developer and gamblers like us, winning or losing.
When mathematically the outcome of the game is not on your side but you win, then yes, you should blame luck, you are lucky and that's why you won. I personally, when I lose, I feel nothing because my attitude towards gambling is that I gamble to get the most fun out of it and I successfully do that. When I was depressed, I was gambling because beer and gambling was significantly boosting my mood, it was a game changer for me, it saved my life.
Overall, I want to say one thing. When you win, it's luck but when you lose, it's warning that this is a casino, this is a gambling and you should be careful, you shouldn't play with the money that you can't afford to lose, only play with money that you can afford to lose. To my mind, loses always remind us this thing.