The reason Jesus told the rich man to sell all his possessions and give his money to the poor, is not because he was rich, but because his wealth was standing between him and his relationship with God. His material goods were worth more to him than his faith. As the Bible says, you cannot serve both God and Mammon at the same time. Abraham in the Bible was also very wealthy, but God did not hold that against him.
It’s not how much money or material possessions you have, but what role they play in your life that matters. The Bible says that the love of money-not money by itself- is the root of all evil. You don’t have to have a lot of money to love it and therefore be evil. Think of all the inner city pushers who sell drugs and poison their communities-they do it out of love for money, but most of them are dirt poor.
By contrast, you have wealthy people like Carlos Slim and Tom Gallagher who actually use their resources to benefit their communities and the less fortunate, and not simply themselves. I’m certain that their actions are pleasing to God.
In short, God judges us by our faith and our works. How much money we have-or don’t have- is completely irrelevant.
BTW I do not believe in the prosperity gospel, before somebody asks me that.