Also, correct me if I'm wrong, global warming is not caused by the rate at which we are using natural resources but by the amount of CO2 we are putting in the atmosphere.
I don't think the question asked is important, because it's not even specific enough to be coherent. For starters, what is X? If X is "oil", the answer is a lot different from if X is "sunlight", and asking about "resources" as if that broad category is a coherent entity is not going to yield any useful information.
> Also, correct me if I'm wrong, global warming is not caused by the rate at which we are using natural resources but by the amount of CO2 we are putting in the atmosphere.
Well, yes. But they're related questions: consuming fossil fuels and meat produces a lot of our carbon emissions.
On the off-chance that you are actually asking this question in good faith to try to learn something, I'd start by looking at the Wikipedia page on Global Warming[1].
[1] https://en.wikipedia.org/wiki/Global_warming