do, mean, etc. something for the best

do, mean, etc. something for the ˈbest

do or say something in order to achieve a good result or to help somebody: I just don’t know what to do for the best.I’m sorry if my advice offended you — I meant it for the best.
See also: something