Under your standard it makes as little sense for the US to want to court Egypt after hypothetically attacking it in 1967 as it did for the US to switch from 'turn Germany and Japan into pre-industrial farm societies' to 'turn Germany and Japan into strong industrial economies with sizable militaries' after fighting them for almost 4 years of war much bigger and more brutal than a US-Egyptian war would have been. Even the reasons were the same for the US and Germany/Japan and the US and Egypt in the real world, trying to increase the size and power of the anti-Soviet bloc.