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.
Mathematics is an obscure field, an abstruse science, complicated and exact; yet so many have attained perfection in it that we might conclude almost anyone who seriously applied himself would achieve a measure of success.
For no phase of life, whether public or private, whether in business or in the home, whether one is working on what concerns oneself alone or dealing with another, can be without its moral duty; on the discharge of such duties depends all that is morally right, and on their neglect all that is morally wrong in life.