What is the meaning of [there’s honor among thieves]

Criminals will not hurt or betray their fellow criminals, thus treating one another with more respect than their victims