While it's important to have the proper resources and a good character (mental mindset, determination, etc.), sometimes it also comes down to luck. You can have two individuals who have similar resources and are both hard working, but maybe only one will make it out of poverty because they were at the right place and time to receive a life changing opportunity. Perhaps having the right resources and character traits can increase your chances of having these opportunities, but luck also plays a role.