Korea was divided at the 38th Parallel to ensure the integrity of a Democratic South Korea and a Communist North Korea. This division was decided upon by the U.N. brokered deal with the two countries.
They didn't do much at all to help anything besides speed up the Civil War. Each act or compromise just pushed the divide between the north and the south even more apart