What is morally wrong can never be advantageous, even when it enables you to make some gain that you believe to be to your advantage. The mere act of believing that some wrongful course of action constitutes an advantage is pernicious.
These (literary) studies are the food of youth, and consolation of age; they adorn prosperity, and are the comfort and refuge of adversity; they are pleasant at home, and are no incumbrance abroad; they accompany us at night, in our travels, and in our rural retreats.