I would like to see data you are basing this on, because
data i have seen seems to indicate that what you are saying isn't true.
Richness isn't everyone's goal as many smart people are pursuing other meaningful life goals. Meanwhile many rich people even inherit their wealth so they didn't "become" rich, but my data wasn't even pointing to that.
Still, in op's case, gambler wasn't smart however rich he/she was if the goal was to win with smallest possible odds.
I get it that being rich doesn't necessarily mean being smart and there are cases that support your claim.
However there is also a correlation between intelligence and wealth, particularly among self made people.
For example, Mark Zuckerberg and Bill Gates are people with high IQ who have made it big.
Obviously this doesn't apply to everyone but here are some links that discusses the link between intelligence and wealth which in turn helps in making better financial decisions and accumulating wealth.
Links :
https://www.psychologytoday.com/intl/articles/201207/brainiacs-and-billionaireshttps://www.psychologytoday.com/intl/blog/fulfillment-at-any-age/201710/why-the-emotionally-intelligent-may-earn-more-moneyLike i already said, intelligence (what ever form of intelligence we are talking about in here) is just
one way to get rich. There are several other traits that work as well, like the fact that psychopathic people are effective leaders in terms of growth, as they often are charismatic and can be ruthless and effective if needed. So can narcissists when it comes to controlling people for their advantages.
I am not saying, that every rich people is a psychopath or narcissist. I am just pointing out that there are other ways. Like hard working people, focused, enthusiasts, people who know a lot about their specific field, motivated, lucky (even gamblers) and well connected people. Or just someone who knows right people (And many more traits that i could keep on listing).
They all might utilize their traits, and depending on their "luck", personal history and several issues around them. And assuming they are even pursuing to be rich. They might end up being rich, or poor. Just like intelligent people.