koekje van eigen deeg

Etymology
Literally, "a cookie of one's own dough", the intended meaning being obtaining something of one's own making.

Noun

 * 1)  a taste of one's own medicine