AI will serve humanity only if we endow our creations with moral restraint rather than mathematical optimization.