Planet Earth could easily accommodate several trillion humans.
Not really, no. I'm not sure you comprehend how large a number trillions would be. The number of humans that can subsist on what Earth has to offer is directly tied to the
global hectare. If the number of hectares appropriated to each human is insufficient an unsustainable collapse follows. Unfortunately, both the global hectare and the individual hectare (assuming equal distribution, not actually the case) are both falling. This isn't even counting species that share resources with humans.
"Water scarcity" is an illusion. Water doesn't "go away" when used. It is recyclable.
You are missing the actual issue. Water can be artificially purified or will self-renew given enough time, but the issue is the distribution of the water. Fresh water is very unevenly distributed across Earth. While there is economic water shortage, physical water shortage (defined as a 25%+ shortfall in total water) does occur in the worst areas of drought.
Food scarcity" is similarly stupid. If there's not enough food, grow more. Dirt, water and sunlight are not in particularly short supply, and vat-grown meat is technologically viable already.
Growing enough food to support a population of our size is not a simple question of "grow more". You need more than dirt, water, and sunlight. You need pesticides to minimize losses to pest species, and more importantly you need the subject of your next point,
oil. The oil is needed to run modern farming machines instead of having a hundred slaves to pick the fields for you, and the oil is most importantly used as a critical part of the
Haber process, without which industrial fertilizer production is impossible. About 2.5 billion humans are going to starve to death if we cannot continue the mass production of fertilizer, and even more will die overall because people don't starve in silence; they pick up guns and start killing anyone who has food they could use.
Vat-grown meat is
not technologically viable yet. It can be done, but doing something in a lab with lots of grant money is different from running a successful business with it. Vat-grown meat is still what we call a black technology, something that can only be done with intense funding, as opposed to white technology, which can survive on a market.
Oil? Don't use oil. Problem solved.
Aside from the Haber process (though that is very important), oil is a vital part of our transportation networks. Transporting food and water to where it needs to go is a vital part of modern living, especially in cities. Cities do not produce much food and don't get enough water on their own to sustain the numbers living there (hence why early cities were on rivers), they must be supported by outlying areas transporting resources to the city so that its people can not die and its industry can thrive, which is why cities are attractive to people in the first place. If you can only sustain people but not industry the city will slowly die. If you can't even sustain people the city will quickly and violently die.
Oil is necessary for a major form of plastic, and bioplastic hasn't replaced it just yet either.
"Just don't use oil" is a ridiculous statement.
Living space? There's no shortage of space. Only of already developed space. So develop the rest.
Developing land for human settlement destroys the local ecosystem. Destroying enough local ecosystem can harm the larger ecosystem and eventually Earth's biosphere. This, in turn, will negatively effect humans by dropping the planet's biodiversity and ruining the natural cycles that are responsible for some of our own resource gathering.
And when that runs out, there's plenty of room underground, above ground and on/in the ocean.
Living on the ocean demands even further transportation needs, and going on your "no oil" plan that isn't going to work out. Living under the ocean requires structures able to withstand massive pressure, the kind we haven't been able to make. Plus there's no benefit to living down there, so people won't much care to go. People wouldn't much like to live underground either, and an area of meaningful size would need massive support to not cave in.
This notion that the earth can't handle any more people, or is "running out" of resources is silly. Humans just need to stop being stupid. There are plenty of solutions to all of these problems.
While I will agree that there are solutions to all of our problems, non-renewable resources can be ran out of, and if that happens we will be in quite the violent fix. Semi-renewable resources like our current food production require that we maintain a cycle that needs us. Renewable resources are limited by transporting them to everyone who needs them.
The issue is not as simple as you think it is, and little of it has to do with people "being stupid".