Poor and rich are social problems that all countries have. In the book I read entitled "Zakat", it is said that the solution for the poor and the rich is zakat, in the wealth of the rich there is a right for the poor 2.5% of the total because the essence of man was created to be a leader, when he is well off and has wealth. If there is excess, then look at your family first, when your family is poor, in your property there is the right of your family and it is obligatory for you to give it. When your family is prosperous then look at your surroundings, if your neighbor is poor, your neighbor has rights in your property and it is obligatory for you to give it. When is it said that you are obliged to pay zakat for the poor, when your wealth has met the nisab (rules for calculating it), that is, your wealth is equivalent to 85 grams of gold. With this zakat, wealth will be distributed to the needy according to the proportion so that human life becomes prosperous.
Your opinion is also correct, but I need to add that in terms of alleviating the social class gap and education, the state is also obliged to pay attention to the lives of its citizens.
countries need to carry out several strategies to address every problem of social and educational inequality, including:
Early childhood development and nutrition: these steps help children grow in their first 1,000 days. Malnutrition and lack of cognitive growth during this period can cause educational delays and reduce their achievement later in life.
Health protection for all: Providing coverage for poor people to get affordable and timely health services, and at the same time increasing people's capacity to learn, work and progress.
Access to quality education for all: The number of students worldwide has increased and the focus must shift from simply sending children to school to providing quality education for every child wherever they are. Education for all children must prioritize the learning process, knowledge and skill development as well as the quality of teachers.
Cash transfers to poor families: This program provides poor families with a basic income, enabling them to keep their children in school and enabling mothers to access basic health services. The money can also help poor families buy necessities such as seeds, fertilizer, or livestock, and help them deal with droughts, floods, pandemic disasters, economic crises or other shocks. Cash transfers have been shown to reduce poverty and create opportunities for both parents and children.
Rural infrastructure – particularly roads and electricity supply: Construction of rural roads can reduce transportation costs, connect rural farmers to markets to sell their goods, and allow workers to move more freely, and improve access to education and health services. For example, providing electricity to rural communities in Guatemala and South Africa has helped increase the female workforce. Access to electricity also makes small-scale home businesses more viable and productive, which is indispensable for the poor in rural areas.
Progressive taxation system: A fair and progressive taxation system can finance policies so that the necessary government programs run well, allocating available resources to the poorest people. The tax system can be designed to reduce inequality and at the same time maintain budget efficiency.