What is the meaning of [better the devil you know than the devil you don’t know]

It is often preferable to choose or stay with people or things you know, despite their faults, than to risk replacing them with somebody or something new but possibly less desirable.