The government must take strict action in the use of natural resources that are in their territory to be beneficial for their people.
In the scheme of the use of natural resources correctly it will have an impact on a better economy but to achieve this, it requires a long -term, because the level of education and human intelligence also significantly affects if you want to utilize natural resources in the country.
Many African countries have good leaders. Most of them are selfish and only interested in stealing the resources of the country. Leaders that should protect the people against exploitation are conniving with these foreign companies to exploit the people making them impoverished. There is no quality education that will empower Africans to maximize these abundant resources to better their lives.
It's no secret that the government still wins in every way. if the government is honest, firm and operates according to the rules and does not prioritize the interests of groups or groups, I think it will be easy. Every investor who enters and manages state assets is obliged to deposit profits for the state and the people. especially now that many successful companies always provide CSR funds for the surrounding community so that they can be used as needed.
If the government will be sincere enough to do what you have proposed @Halime Anatolia such a nation will be a better place. If the interest of people is given the right attention, the people will not suffer. Some nations have enough resources to take care of all their citizens if it is well managed. But in such nations, you will find the highest level of poverty. The problem of most nations is not a lack of resources but poor utilization.