What is the meaning of [give and take is fair play]

Exchanging like for like—whether it be a blow, an insult, a favor, or a pardon—is a fair and legitimate way to proceed.