Your solution - hide your winnings and stay close - is practical but raises questions. Why does success attract greed? Why not inspiration or motivation? The problem is our collective view of riches and achievement, not who knows about your winnings.
Gambling carries danger. It requires caution and knowledge. Remember that its about understanding the chances, knowing when to walk away, and how it affects you and others. Stay wise and safe.
People tend to be greedy regarding material achievements because human nature is that they still want to get more when they succeed in getting something. They don't realize they have achieved a lot but still want more. If they can use it as inspiration or motivate others to achieve success, they might be able to teach others to achieve it, too. This is for things not related to gambling. But when it comes to gambling, people will be inspired by the wins obtained by other people so they will continue to try gambling until they can get the win they want.
That's why they have to be able to use gambling correctly so that it doesn't cause any problems. Many people are so involved in gambling that they don't know when to leave gambling. Gambling can tempt them until they forget what they must do.