It literally means as "A tomato plant doesn’t grow mangoes". The meaning of it is "A good person doesn't come from a bad family".