I think it is more of if the people that a specific country has access to their basic needs at a higher scale than most countries. For example, everyone could have a hut and a blackboard and call it a school, but few actually becomes competitive globally. A developed country would definitely have it's citizens taken care of not the otherway around.
Yeah it is also right and I think that in developing countries basic needs for lie are not available or in very rare conditions. The governments in developing countries also do not care for their people and the people too cannot stand for their rights. The whole system disbursed due to weak law enforcement and corruption. People have many financial problems and limited resources.