I forget where I heard this stat, but the Earth could support 12 billion people if resources were distributed equitably. But, alas, :gestures broadly:
No, the Earth can sustain 12b people if everyone lives in barracks and eats shit. If you want to have any comforts in your life, current population should be reduced dramatically.