Henry David Thoreau said this quote

Not only must we be good, but we must also be good for something.