Yes, even though Nigeria has sufficient land for the agricultural sector, in fact hunger still occurs in the country. and of course this can happen not without reason, recently there have been frequent changes in the climate and average temperature in the country which can affect agricultural conditions in the country so that agricultural yields decrease and some even experience crop failure. On the other hand, infrastructure and distribution development to support increasing crop yields in the agricultural sector is still lacking. So even though Nigeria has quite extensive agricultural land, this land is not utilized as well as possible, some farmers still rely on rainfall to be able to grow crops. so that when the dry season arrives, they will never be able to plant crops.
its definitely have to do with the unoptimized yields, relying on rain fall means there'll be fewer harvesting there should be large investment to the agricultural sector since there is abundant of resources to be taken advantage of, but it is also at the same time not gonna be easy thing to do, the thing that holds back most of developing country is the corruption, the money that is supposed to be invested could instead vanish into thin air due to corruption if not taken care of properly.
if only the money can be taken advantage of properly i'm sure country with abundant resources and fertile land can easily overcome the hunger, just multiply current yield with all that investment and you will see that it can easily feed the whole country, since its more likely that people in developing country are still interested in agricultural sector which means huge manpower to take advantage of to plant various basic foods.
what matter most at this point is a clean governance system as well as proper management of agricultural sector in order to boost the yield thats it.
just that i'm sure hunger in the country will be gone in no time. although we all know the countries that actually making money is the one that's revolving around industrial sector with product that have added value, eventually if you can solve hunger you can get to that level as well starting industrial trend in the country.