North Korea DID lose the war in 1950, in a way. After Incheon Landing, the North Korean army never really recovered. The majority of fighting power for north side was from Chinese army.
The reason UN Forces got pushed back and couldn't advance was because of the human wave attacks from Chinese army.