When circumstances work to drive a person to incredible pain, it can seem that anything that will shut the pain off is attractive. However a focus on the pain can cause a sort of tunnel vision that can blind us to what we might do to shut the pain off (or at least turn it down) ourselves.
This loss of perspective can be compensated somewhat if there is anyone you are close to that might help you consider options that could be explored to push back against the pain.