give someone tit for tat
Fig. to give someone something equal to what was given you; to exchange a series of very similar things, one by one, with someone. They gave me the same kind of difficulty that I gave them. They gave me tit for tat. He punched me, so I punched him. Every time he hit me, I hit him. I just gave him tit for tat.