I once read something similar: "The primary function of any institution is to preserve itself, and only secondarily to do whatever it was intended for." I seem to recall that it was attributed to a founder of sociology, perhaps Durkheim or Weber, but can't remember. If anybody can trace the source I'd love to know.