Then find a different line of work.
I assume that by your logic it would be okay for physicians to be required to perform abortions?
You are always free to refuse to do what your employer asks. Then you must accept the consequences.