Michael Barnett said this quote

Weber also saw that a bureaucratic world contained risks. It produced increasingly powerful and autonomous bureaucrats who could be spiritless, driven only by impersonal rules and procedures, and with little regard for the people they were expected to serve. Weber famously warned that those who allow themselves to be guided by rules will soon find that those rules have defined their identities and commitments.