Its a popular misconception that recycling and climate change are in opposition. Landfills are the biggest producers of greenhouse gasses after electricity generation, transport and agriculture.
The reduced carbon impact is one of the reasons to recycle, but your not the first person on HN that I've seen claim exactly the opposite.
(Of note, burning the trash and using the energy produced is also better for climate change than landfill).