By resources I wasn't talking about environmental problems, but I was referring to depletion of rare minerals, energy, arable land, fresh water, etc.
In homestead farming two centuries ago they had to grow more calories in energy than they used, otherwise they would starve. Today it is estimated that each calorie of food requires 10 calories of external energy when you include fertilization, pest control, irrigation, refrigeration, transportation, packaging, retailing, etc. So in that sense, food = energy.
We will just have to wait and see which becomes the predominant force of population control -- birth rate, or death rate. If the population levels off naturally with birth control like it is in some places, that would be great. If it doesn't, then it will level off by epidemics, wars, starvation, genocide, and other unpleasant means.