To give as good as you get means to retaliate or strike back in an equal fashion, so this sentence is saying that you retaliate in the same way that you were treated.
Consider the staetement "You retaliate in the same way that you were treated.". Based on this statement, is "You give as good as you get." a true statement? Yes/no/unknown