Every gambler should be able to control greed, because greed is one of the reasons we suffer losses. Although it is not easy to control greed,
I agree with you, we have to keep trying until it works. One of the exercises I do to control greed is to immediately stop every time I win at gambling.
That way the profit I get from gambling will not be lost, because I didn't continue to gamble after winning. Doing this is not only greed that can be
controlled, but indirectly we also become accustomed to limiting the time to play gambling.
What you did is right and you are in the right way to control your greed. But you still need to be careful because greed will always come to you, no matter if you win or lose in gambling. While you still learn to control your greed, you should have limitations in time and money, especially to know how long you can playing gambling. Maybe we can win in a short time and we might say that we can play for more as we still need more time, and that is greed that whispers in our ear. So be careful if you get that in your gambling time and do not let that possess you.