> Humans are a K-selected species - the optimal strategy for passing on our genes is to invest as many resources as possible into the smallest viable number of offspring.
It's certainly fashionable these days in the West. I don't know that I would call it optimal. Optimal now for passing along genes is probably donating at a sperm bank after getting into a regionally swanky university. A joke, of course, but notice it stacks! Certainly the donating to the sperm bank plus what you profess dominates what you profess in isolation. Since I just improved the strategy, it wasn't optimal.
> People reproduced much more when food, medicine, and housing were much more scarce.
Yet the population was smaller. You're talking per capita rates and I am not.
We successfully produce more viable adults now in absolute terms than ever before, the number of live births notwithstanding. Otherwise, global population would drop. Which it hasn't. Definitely slower growth but not shrinking: https://www.worldometers.info/world-population/#growth rate
That site says "The latest world population projections indicate that world population will reach 10 billion persons in the year 2060 and 10.2 billion in 2100."
> Humans are quite a bit different from micro-organisms
Humans increasingly inhabit inhabitable parts of the Earth with increasing density. This species-wide growth, regardless of the optimal reproductive strategy for any single individual, is like a microorganism spreading across a petri dish. We're starting to run into the edges of the dish so we're slowing down a tad. But, likely growth for at least the next 75 projected years per the above 10.2B people in 2100 projection.
Going back a step: My point is there's no end in sight for needs around housing, food, and medicine. Human beings aren't special. We consume all available resources, in part due to population growth. I did not expect population growth to be such a controversial topic. Population, it grows.