Barack Obama actually said...
The JCPOA must be assessed by what it achieves on its central goal of preventing Iran from obtaining a nuclear weapon.
Context
Statement of Administration Policy: H.J. Res. 64 - Joint Resolution of Disapproval of the Joint Comprehensive Plan of Action
09/07/2015