Watching the movie McArthur with Gregory Peck is interesting.  I see Korea was messed up by post WW II political meddling in an effort to control the spread of Communism.  There are pros and cons for seeking a political solution, but if McArthur was right, he could have won against China and North Korea.

Politics ruled out victory in Korean, as it did in Viet am, and both times the Communists won! 

Douglas MacArthur
Author:  History.com Editors   Updated: Jun 7, 2019Original:Oct 29, 2009

https://www.history.com/topics/world-war-ii/douglas-macarthur

"Douglas MacArthur (1880-1964) was an American general who commanded the Southwest Pacific in World War II (1939-1945), oversaw the successful Allied occupation of postwar Japan and led United Nations forces in the Korean War (1950-1953). A larger-than-life, controversial figure, MacArthur was talented, outspoken and, in the eyes of many, egotistical. He graduated from the U.S. Military Academy at West Point in 1903 and helped lead the 42nd Division in France during World War I (1914-1918). He went on to serve as superintendent of West Point, chief of staff of the Army and field marshal of the Philippines, where he helped organize a military. During World War II, he famously returned to liberate the Philippines in 1944 after it had fallen to the Japanese. MacArthur led United Nations forces during the start of the Korean War, but later clashed with President Harry Truman over war policy and was removed from command."

My opinion is President Truman made a mistake removing McArthur from his command.