Anne Brontë said this quote

By his [God's] help I will arise and address myself diligently to my appointed duty. If happiness in this world is not for me, I will endeavor to promote the welfare of those around me, and my reward shall be hereafter.