We have a readily available measure of the scarcity of commodities of all kinds - the price.
Prices for commodities tend to be cyclic. Economic growth pushes up demand, which pushes up prices, which stimulates production, which reduces prices.
We don't appear to be anywhere CLOSE to a hard resource limit for any of the commodities that are incapable of being substituted for something else. Reserves are always limited; But that's because prices haven't been high enough to bother to push us to explore and define more reserves from the basic resource.
Almost none of what we use goes away - All of the iron, carbon, nitrogen, oxygen, phosphorus, copper, zinc etc. etc. that was part of the Earth's crust to begin with is still here - and the VAST majority of it is still in the crust, as unexplored resources. Apart from trace amounts of hydrogen and helium, and the tiny amounts of stuff we used to make deep space probes, everything is still here. We cannot run out of it, unless we lack the energy and the technology to (re)concentrate it into a useful raw material form.
We have barely scratched the lithosphere, and almost completely failed to exploit the oceans.
If we run short of fresh water, we can make it from seawater for about $1.50/tonne, purified, delivered and ready to drink at the customer's kitchen sink.
If we run short of liquid hydrocarbons,
we can make those from seawater too - it's not commercially viable yet, because the incredibly cheap mineral oil from Saudi Arabia and elsewhere undercuts it. As that oil runs out, shale oil becomes viable. As shale oil runs out, synthetic oil from seawater or atmospheric carbon will become viable - unless some other options are developed, which they may well be.
The only limit is energy - and energy is available in VAST quantities. It falls from the sky; and it is concentrated in uranium and thorium deposits all over the world.
If we run short of iron, we can get it from scrapyards - but realistically, there's no chance of us ever using all of the iron in the Pilbara, and that's just one of dozens of well known large ore bodies. There are certainly thousands of less well known ore bodies, for every mineral you can imagine, that nobody has explored yet, because we don't need to - the price is low, because the commodity isn't scarce, so nobody is going to bother scouring remote locations, or building infrastructure there to make mining viable. And that's true for pretty much every mineral you can imagine.
Given a population of 9 - 11 billion, each living like an American or Western European does today, we will never run out of anything. We will probably need to do more recycling than we have in the past, but that's hardly arduous. All we need to do is make sure we build the energy infrastructure necessary to keep costs down.
There's no such thing as 'overpopulation' - just under development of the resources necessary to keep a given population comfortable and happy.