Although it's true that God will provide for us, it is also true that if you have the intention of being rich, that God says you will not go unpunished. So how do you recognize this intention in yourself or others? They will put money before God and loved ones. He who loves money will never have money enough. I heard a man who has ten million dollars say that it's not enough and he can't live on that, when most people won't even make one million in their lifetime.
But it is not wrong to have money. How can one be generous if they have nothing to be generous with? I seen a millionaire doctor live in a humble cottage. He is very generous and kind to others. He could live in a mansion, but the fact that he don't shows that he is poor in spirit even though he's not poor in his bank account.