Pope Leo XIII wrote an encyclical, Rerum Novarum, about 120 years ago. As most know, encyclicals are interpretations of various Bible passages and thus, footnoted to the Bible. Since Leo XIII there have been at least 6 more encyclicals from succeeding Popes dealing with social justice.
It is perfectly acceptable to reap the reward of our honest endeavors and to pass along our estates to our heirs. We also have a duty to use our money wisely. If we employ others, we must pay them a living wage if we can. Back in 1890 that was not always done.
We are obligated by one of the Precepts of the Church to support the church financially. And we are morally obligated to also support charitable works.
As to luxuries - somebody has to be employed to make them, to transport them, to sell them, to keep them in good repair. Often used luxuries, in good condition, are sold at reduced cost to those who could not afford the original retail price.
I personally think that our attitude toward wealth is important. Are we unduly proud of it? Do we think better of ourselves and so much less of those who lack wealth? Do we realize that our success is indeed a gift from God? Are we grateful? Do we see money as a tool that should be employed wisely? Many of the uber rich set up foundations to assist the less fortunate. Do we have a regular program to share our more modest income? There is more moral value in giving willing as compared to waiting to be taxed by a secular government.
I think it would be immoral if one spent money on luxuries at the expense of not providing for the necessities of one’s family.