It was rather radicalizing finding out that the world makes three times as many calories per person than is necessary to feed every person on this planet, but because we're idiots living in a class society in the year 12024 HE, luxury restaurants regularly dump slightly subprime ingredients in the trash while thousands starve.
According to health.com, the average person needs between 1600 to 3000 kilocalories a day depending on sex and age.
According to Our World In Data, even Africa, the continent with the least food reserves, has enough to give everyone roughly 2500 kcal, which ought to be more or less enough given how people with higher and lower caloric needs balance out. Seeing as how developed countries have more than enough, if a portion of that went to Africa and Asia, everyone could eat.
Calories are a rough measure, and according to Bahadur et al. we are overproducing grains but underproducing fruits, but the wretched of the Earth and the prisoners of starvation are not even getting that grain.
Edit: I have been informed that "calories" in nutrition are in fact "large-C calories", A.K.A. kilocalories. On the other hand, the OWiD numbers, which document the number of kcal available per day, still suggest that we have enough to feed everyone. I have altered the comment accordingly.
Only half of the world’s croplands are used to grow crops that are consumed by humans directly. We use a lot of land to grow crops for biofuels and other industrial products, and an even bigger share is used to feed livestock.
Even if all crops went directly to the stores, the problem would remain. Food is sold to make a profit, not fulfill human needs. It is unprofitable to provide food for all who need it. It is far more profitable to provide luxurious feasts for the wealthy.