People can be rich because they were born into a position of great privilege. Not all rich people are like that by any means - there's all sorts of ways to becoming rich.
Similarly, people can be poor because they were born into a very disadvantaged position. Again, not all poor people etc. But not all poor people are beneficiaries, and not all beneficiaries spend unwisely.