The environment is also something that influences the mindset of the poor. If the people around them are almost all poor, then they will feel comfortable with the poverty so that there is no intention to become rich. Maybe only a few want to get out of the poverty zone. Most will definitely feel fine with the situation because there are many friends.
Unless their environment is filled with rich people, there must be a desire to enjoy life as the rich people around them feel. This triggers the desire to change their lives to be bigger than poor people living in poverty-stricken environments.
This next point is also related to the previous point, which is that most poor people do not want to change their fate. We will of course only find a few stories about someone who was originally poor then became rich because very few poor people wanted to change their fate. This is what keeps them poor. But if they want to change it, they still have a chance to get rich.