If people refuse to listen when others try to correct them, they are despising/hurting themselves; those who ◄pay attention/heed► when others warn them ◄become wiser/acquire good sense►.