if a person wanted to accumulate wealth/knowledge and did it, he/she is smart.
if a person wanted to accumulate wealth/knowledge and failed to so do, he/she is stupid.
Let's say I want to accumulate wealth, and I play the lottery and win, then, by your definition, I'm smart.
I'm not against playing the lottery, but it's objectively proven that it's not a good way to become rich, and a persons smartness has no bearing over whether they actually do win (maybe a negative one, smarter people will gamble less).
I agree calling it stupid may not be accurate.