In the parable of the Shrewd Steward, Jesus speaks of unrighteous mammon. Mammon is a Syriac word for money and the idol of wealth. The wealth of the rich man was unrighteous mammon, because it had been gained by unrighteous means.
The corollary of this there must be righteous wealth as well. Wealth that is earned by working hard to meet the needs of other people is righteous wealth. Any honestly earned money that is saved is righteous wealth. Any capital goods that have been paid with honestly saved money are righteous wealth.
In Jesus time, there was not much righteous wealth, because the only way to obtain wealth was to do deals with political and religious powers. There is plenty of unrighteous wealth in the modern world too, but it is possible to gain wealth righteously as well. People who work hard for their wages can gain righteous wealth. The owners of businesses that provide reliable goods and services that people need can gain righteous wealth.
Righteous wealth is not an obstacle to the gospel. Unrighteous wealth creates hostility, so it hinders the gospel. It can distract a Christian from God.