What goes around comes around / You reap what you sow
Literally 'where they give them they receive them'. Used when someone who treated others badly faces similar treatment in return.
She did the same to him as he had done. What goes around comes around.
—Things didn't go well for him. —What goes around comes around.
What goes around comes around. He treated everyone badly and now nobody helps him.