Dictionary / Vocabulary / 手間をかける
てまをかける
to take pains; to take time for someone; to do work for someone; to go to trouble for someone
Also written 手間を掛ける
君は手間をかける必要はなかった。
You needn't have gone to the trouble.