Barack Obama actually said...
I will do my best to consider every case impartially, modestly, with commitment to principle, and in accordance with law.
Context
Press Release - Excerpts of Elena Kagan's Opening Statement Before the Senate Judiciary Committee
06/27/2010