Question: what is the meaning of you deserve it?
Answer: "You deserve it" means that you have earned something. Whether or not the meaning is positive or negative depends on context, though. Some examples: "You've been working so hard. Take a break; you deserve it." (