If you have guaranteed about your success then excessive work can give you a huge return as the more you work the more you will earn but it is not possible with gambling. You don't know about your win or lose therefore if you find that you are losing more money in gambling then stop it and use your money in another profitable thing.
Indeed, if someone is too close to gambling or makes gambling a daily habit, every time they play it always feels exciting because they are an addict, but they don't realize that their addiction makes them increasingly uncontrollable and their losses become increasingly unstoppable. It is indeed permissible to just entertain yourself by gamble but don't get too carried away, playing seems fun, but know that what you are playing with is real money and not fake money, where if you lose it will affect your financial stability, it is different from doing business that makes money, even though they require effort which is not easy but which It's called business, so one day you won't betray the results and you can enjoy the benefits in the future if your business progresses.
It's better to set up a business than to gamble every day because clearly the profits are different, gambling is too risky and you can lose money in an instant, whereas running a business you can plan a business that you think will work in the market. Business is not completely profitable, sometimes it experiences losses, but business is like that. One day you will get the benefits if you keep trying.