The grown-ups say such things to their children in order to teach them good manners. They want their children to be responsible citizens and behave properly in public. Yes, it is important to teach the children all these things so that they learn how to behave properly in the society, at home and with their elders and youngsters. Our elders are our teachers and we can learn a lot from their experience.