Yes, you're generally right about caloric intake being the main problem. Meat is a problem for many other reasons.
However, it's doubtful that people would gorge themselves on vegetables were meat not available. And, even if they did, 4000 calories of vegetables is still far healthier than 4000 calories of meat.
You are probably bring down voted for inferring that meat here is the problem. it is not. it is vast quantities of low quality poor meat/fat. If you at 4000 calories of vegetables each day, you too would be obsese.