The first chapter of Alma in the Book of Mormon covers two rival approaches to prosperity: individualism and communalism. Those who follow God go with communalism – giving to those in need, without regard for race, gender, or whether or not the person in need is a fellow-believer. These are specified in the text, so the above are not inferences from context.
The wicked do not do as the righteous. They follow a path of individual, personal aggrandizement. They are called out on their “costly apparel” along with pride, persecuting, lying, thieving, robbing, whoredoms, and murdering.
As a group, it is the righteous who are collectively more prosperous. When we choose not to indulge ourselves in excesses, we have plenty of resources to support other people who are in need. When we do not insist “what’s mine is mine, what’s yours is yours” – or variations on that – we can instead teach that what we have here is all God’s and we have no ownership, but stewardship. And, as stewards, we must follow our Lord’s instructions in handling those resources – and our Lord has told us to share freely one with another, that we all might prosper and live in peace.
What’s mine isn’t really mine, if I want to prosper. What’s God’s is for all of us to share equally and fairly. We cannot inherit His kingdom if we are not prepared to share it.