What is the meaning of [A wise man changes his mind, but a fool never does]

“It is foolish to persist in the same opinion or course of action regardless of new information or different circumstances.”