Barack Obama actually said...
Perfect valor is doing without witnesses what you would do if the whole world were watching.
Context
Remarks on Presenting the Public Safety Officer Medal of Valor
05/15/2016
Remarks on Presenting the Public Safety Officer Medal of Valor