You're strawmanning here. Parent commenter clearly meant healthy as in containing only "healthy" foods. If you eat 4,000 calories of brown rice, chicken and broccoli a day you will get fat. Colloquially, though, their diet would be called healthy because of it's constituent foods.
Edit: you will get fat assuming you are like most people and do not expend greater than 4k calories / day in total
Edit: you will get fat assuming you are like most people and do not expend greater than 4k calories / day in total