A pastor once asked me whether I thought that the gospels were for rich people. I'd not thought about it, nor have I thought about it much since then other than to put a marker in the back of my brain to take a look at - and maybe even formally study - whether a lot of Jesus' teachings were/are about "higher" levels of thinking, with a more long-term, "higher" purpose focus than the hand-to-mouth thinking that a lot of poor people get stuck in.
JD Vance's book Hillbilly Elegy spends a fair amount of space on new habits he formed once he left his family, got into the military, then college, and then an Ivy League law school. At each new environment he noted significant changes in the habits of people successfully navigating those different environments, and had to learn new habits to succeed in them. For example, the habits needed to excel in high school were different than those needed to succeed in college, which were different yet from those needed to succeed in law school and then again from those needed to be successful in a law practice, and so on.
My sense is that certain habits help folks survive day-to-day, while other habits can do that while also providing a different trajectory for one's life. Other habits - including the habits of addiction - can destroy one's ability to survive day-to-day and provide a trajectory towards an early, even fast, death. While the support that wealth provides can help with establishing good habits, that by no means is a given . . . there are many, many lives destroyed when the life purpose becomes the wealth rather than the life purpose being the purpose of the wealth.
So my sense is that the perspective needed to identify the difference the habits that successful people have can be obtained whether one is wealthy or poor . . . but it's more accessible when one's environment is filled with a high percentage of people with those habits.
BTW, my suspicion is that if I ever do the study of the gospels I mentioned, an awful lot of Jesus's teachings will constitute this "higher" level thinking, and building habits based on that type of thinking rather than hand-to-mouth habits. Hillbilly Elegy touches on this regarding several topics, one of which is the diminishment of "honor" - fighting someone over insult to self, family or tribe, for example - as the basis for decision-making. Another example Vance cites regarding a related topic is not going into debt to have a "big" Christmas, to "demonstrate" how much one loves one's family.