Trees will die, decompose and release the CO2 back into the atmosphere. "Keep it in the ground" will need to become "Put it back in the ground"
Trees have other benefits too - potentially very long lifetimes, self-repairing, self-replacing, improving water tables, improving/generating/retaining soil, and can be used for building and in other processes once they reach maturity.