Ronald Reagan actually said...
Military inferiority does not avoid a conflict, it only invites one and then ensures defeat.
Context
Remarks at the Bicentennial Observance of the Battle of Yorktown in Virginia
10/18/1981