At least in my country (Europe), farmers receive very little money but food is getting more expensive. Is the great chains of supermarkets that profits in that difference, so it's definitely a capitalism problem.
Even the CEO of the biggest supermarket here recognized that they had rise the prices to make more profit even when they didn't need to do it.