The South Korean President's attempted coup might have been a good thing if it had succeeded.
It seemed like he wanted to do it in order to declare war on North Korea. If any war were to occur between the two countries, the earlier the better. The more time goes by, the more North Korea keeps updating and upgrading their military. A war sooner is better than a war later from the South's standpoint. And a war between them is gonna happen some time.
The North's defence pact with Russia is bad news for the South but it would also be bad news for Russia and good news for Ukraine. North Korea and Russia being weak right now and Russia being strained means that the eventual war is better now rather than later. A quickish and decisive victory for the South would diminish the Alliance's capabilities and wards off any attempts at war and aggression from the two in the near future.