What is the meaning of [give a thing, and take a thing, to wear the devil’s gold ring]

It is wrong to take back a gift.