The "Late Night" host made an example out of the president's insistence that he was against foreign wars and regime changes.