means that
even worthy institutions or causes can attract corruption or wrongdoing; good intentions do not automatically prevent harmful influences.
When evil finds its way and infiltrates even in good causes; for example, progress or reforms, are often accompanied by something negative., the saying “Where God builds a church, the Devil build a chapel” is appropriate.