Earlier quoted context omitted.
Not only forests, but converting a desert, like Sahara, into agricultural land will help too. Same is true for ocean deserts, places where there is no upwards flow bringing nutrients from ocean floor to the surface, which is the majority of the ocean.
I think the math has been done for this and the CO2 captured by planting the Sahara would be offset by the increased warming due to the reduction of albedo effect. Which is crazy to think about.
And there are many possible ways to control the climate in a smart way instead of trying to simply remove CO2. One possibility is to use ocean thermal energy conversion plants [1], to cool down tropical region of northern hemisphere, artificially re-creating conditions that cause green Sahara periodically. Aubrey de Greys new moonshot https://viento.ai/ is working on similar ideas.
[1] https://en.wikipedia.org/wiki/Ocean_thermal_energy_conversio...