Ronald Reagan actually said...
Their convictions grew out of their good-faith belief that their actions were necessary to preserve the security interests of our country.
Context
Statement on Granting Pardons to W. Mark Felt and Edward S. Miller
04/14/1981