How to deal with the waste of money

I've been a free to play player for my entire life, mostly because i had no money so i just used what i had...but since when i worked for a bit and got some money, i started spending them. Firstly on Hearthstone, 2k or even more i'm so ashamed but the problem is that I DON'T CARE, that's what i'm scared of...i don't care about those money because i had a lot of fun, but I don't have a job anymore and i've spent half the money i made, now i just buy the brawl pass on brawl stars and sometimes like some offers "10000 coins for 10 euros" or so, but i bet i shouldn't waste money like this. Because i know those money are wasted on a game that's gonna be shut down someday...if i were your friend or your son, what would you tell me?