to treat people the same way they treat you
When you are working with a lot of strong-willed people, you have to be able to give as good as you get. Usage notes: often used to describe an argument or a fight: Pat had a black eye and a couple of bruises, but he gave as good as he got, or better.