What is the meaning of [Advice when most needed is least heeded]

Advice is something that wise men don’t need and foolish people won’t take;
and the greater the need for advice, the less likely the foolish person is to
heed it – that is, to pay careful attention to it.