Obama’s foreign policy was error after error