Jane Austen said this quote

...the pleasantness of an employment does not always evince its propriety.