I would disagree he did not campaign on getting out,
he campaigned on winning.
Thats how Johnson campaigned as well. “I’m not going to send American boys to fight a War Asian boys should be fighting”. Of course he was lying through his teeth.
Goldwater had too much sense to get into a lsnd war on the Asian Mainland. He could see whst appened in Korea.
In fact when Johnson went to visit Douglas MacArthur during his lsat few days, the General begged him not to get entangled in that mess. But since Johnson thought of himself as a great leader, he jumped into the maelstorm willy nilly which led to disaster.