George Eliot said this quote

Duty has a trick of behaving unexpectedly -- something like a heavy friend whom we have amiably asked to visit us, and who breaks his leg within our gates.