The Koreans are really clever to have valuable teachings like this about the correct upbringing. It would demostrate the points to the teens that also watch these shows. Hence they would know the correct values, and practice them from there.
It would be really pointless if a drama is about sex, drugs, deaths, etc. It would only mean that the country itself is trying to teach the citizens things that may harm them holistically.
Hence, I would say that it is definitely good thing that they have did the drama in ways to improve their people by teaching them values.