Will cardio really kill my gains?

I have been hearing from a lot of people telling me not to do cardio because it will kill my muscle gains. Is this true