How did America’s experience during the Vietnam War affect the nation’s attitude

How did America’s experience during the Vietnam War affect the nation’s attitudes toward the military in the decades after the end of that war?