If it were possible to live without causing harm to any living being at all, then indeed we might well choose not to eat carrots or other vegetables. But that is not possible - merely by being alive, we necessarily cause harm to many, many beings: we step on them inadvertently, we breathe them in without noticing, we kill them when we brush our teeth or wash our bodies, etc.