what was the main reason the u.s. belivied it was acting correctly by getting involved in the korean war and vietnam war