I am glad you were able to win your money back and even make profit and sometimes luck will come when you don’t expect it.
Luck can favour you anytime when it's unexpected also which is why we should not loose hope.I have seen people who are broke but in gambling they have made fortune because luck was in their side at the time so it's good when you make profits this way.
A gambling proverb have it that, money won from gambling is always the same as money picked on the road, so this in believe explains why gambler can be broke today, and overnight, he or she will become rich, it is only possible in three ways,
1. Pick a bag filled with dollars on the road - if this is even possible.
2. Get lucky with investing in a meme coin, and have it do x10, 000 after you have invested.
3. Win a jackpot in gambling..
Aside this three I mentioned, I don't see any other way one can become rich over night.
in portuguese we have a saying that's like "money that comes easy goes by easy too" meaning that if you win without effort you'll lose it
but I think it varies, some people will have the discipline, knowledge and emotional control to keep what they earn, even if it comes in an unexpected way
regarding becoming rick overnight, there are other ways too
buying some shitcoin, receiving a big heritage
anyways the best is always to study, prepare and learn, having faith in your capacity of generating wealth, instead of depending on external factors