After 20 years of honorable service with no problems, there has to be something else going on to cause this downward spiral. I've seen it happen to Fire, EMS and LEO folks before. Resigning was the right thing to do. Now please get some help to battle these issues. You are not alone. There are others who have been there, too. Prayers.
More information about formatting options