If something is for the best, it may seem bad now but will lead to a better outcome later.
Even though it was hard to move away, it was for the best.
이사하는 것이 힘들었지만, 최선의 결과를 위한 것이었다.