do, mean, etc. something for the best

do (something) for the best

To do something with the hope or intention of producing a positive outcome. I did that for the best—I really wasn't trying to hurt your feelings.

mean (something) for the best

To intend for one's actions to produce a positive outcome. I meant that for the best—I really wasn't trying to hurt your feelings.
See also: mean
Farlex Dictionary of Idioms.

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
Farlex Partner Idioms Dictionary
See also:
  • be not fussed (about someone or something)
  • relieve
  • relieve (one's) feelings
  • relieve your feelings
  • hate
  • a thin line between love and hate
  • agitate
  • agitate against
  • you have to be cruel to be kind
  • a piece of (one's) mind