Barack Obama actually said...
We don't listen to science just when it fits our ideologies or when it produces the results that we want.
Context
Remarks at the White House Frontiers Conference at Carnegie Mellon University in Pittsburgh
10/12/2016