If something takes a lot out of you or takes it out of you, it requires a lot of energy or effort and makes you feel very tired and weak afterwards.
He looked tired, as if the argument had taken a lot out of him.
Having loads of children takes it out of you.