means that
the more people know a secret, the greater the risk that it will be disclosed. The familiar wording is also associated with Benjamin Franklin.
He decided not to share the confidential plan with the whole group. Three may keep a secret if two of them are dead.