Plants do need carbon dioxide but the amount of it we have right now is more than what plants can absorb. Moreover, as we see more and more events of deforestation and wildfires the amount of CO2 getting absorbed by plants is also reducing.