It is not just having the riches that is significant. It is where the heart of the person is. If a person has worked hard in his life and made personal and family sacrifices to make his business work, or that he has worked for an employer and careful saved his money, then he should not be judged for having a nice home, a car that he spends more time in it than under it, able to give his children a good education, and be able to meet all the other needs that sufficient finances can enable.
But if his dependence and heart is on his bank balance, he is like the man who built bigger barns to hold his wealth, and the Lord treated that man as a fool, because "this night your soul will be required of you". That was the fault of the rich young ruler - Jesus saw his that his heart was in his riches, and His instruction to him drove the sword of conviction into him, but the rich young man couldn't give up his riches, so he walked away from Christ.
Peter told Ananias, that his money was his to do what he wanted with it, but the fault here was that Ananias and his wife lied about how much they gave to the Apostles.
Jesus and His disciples did not have a lot of money of their own, but they had friends and supporters who were well-off and gave them much financial and material support during their three years with the Lord. Also, on two occasions, Peter, James, and John, caught a miraculous load of fish, which would have been sold and would have given them good financial support for quite a while. We must avoid being so heavenly-minded that we are no earthly use when it comes to seeing the realities.
I think that a lot of criticism of rich people comes from jealousy and envy when some Christians see the wealth of others, and think they should have a share of it, and so they quote all sorts of Scriptures to make it appear that the rich ones in the church should share their wealth with the others. But the motives are not godly at all, but comes from sheer jealousy and envy. Many well-off people in the church, because they love the brethren, contribute much to the finances of the church because they believe that the providence of God has enabled them to have greater wealth so they can give more to the work of God.