Barack Obama actually said...
The joint efforts by China and the United States on climate change will serve as an enduring legacy of the partnership between our two countries.
Context
Joint Statement by President Obama and President Xi Jinping of China on Climate Change
03/30/2016