Jimmy Carter actually said...
We were not caught by surprise, but there was no way to anticipate that they would actually invade Afghanistan.
Context
Interview With the President Remarks and a Question-and-Answer Session With Editors and News Directors
01/28/1980