If two or more people are as thick as thieves, they are very friendly with each other.
Translated from an 18th-century French saying, “as thick as thieves” literally means “like thieves at a fair.”