I'll not assert that it was a diversion which prevented a war, but nevertheless, it was a diversion.
Apollo 11 40th anniversary celebration (2009), Armstrong discussed how the space race functioned politically Neil Armstrong's Giant Leap, by Chris Higgins, in Mental Floss (25 August 2012)