Henri-Frédéric Amiel said this quote

Our duty is to be useful, not according to our desires but according to our powers.