It isn't saying you need to be poor to be godly. It's saying pointing your wealth toward your wants before the needs of your neighbors is wrong. Taking care of your own needs before the needs of others is martyrdom, and I don't think anything said above was saying that was required, or even suggested.
One final thought:
>while the wealthy by and large tend to do just fine
Is debatable. In times of peace and prosperity, yes, they certainly do. In times of turmoil however, they are often the first to suffer, because they grow sure that money will carry the same weight in all social orders, which is not true. People, without fail, look around for the reason there isn't enough to go around, and the first thing they see is the castle in the hill.