Alice Cooper credits his religion for saving him from alcoholism.

The 70-year-old rocker was warned by doctors to quit drinking or die 37 years ago, when he woke up throwing up blood and was taken to hospital.

He recalled: ''Everything that could go wrong was shutting down inside of me.

''I was drinking with Jim Morrison and Jimi Hendrix and trying to keep up with Keith Moon and they all died at 27.''

And the 'Welcome to My Nightmare' rocker - who has children Calico, Dash and Sonora with wife Sheryl Goddard - admits it took his brush with death to bring him back to the church.

He told the New York Daily News newspaper's Confidential column: ''My wife and I are both Christian. My father was a pastor, my grandfather was an evangelist. I grew up in the church, went as far away as I could from it -- almost died -- and then came back to the church.''

The shock rocker insists his faith is compatible with his career.

He said: ''There's nothing in Christianity that says I can't be a rock star. People have a very warped view of Christianity. They think it's all very precise and we never do wrong and we're praying all day and we're right-wing. It has nothing to do with that. It has to do with a one-on-one relationship with Jesus Christ.''

The 'School's Out' hitmaker finds the time for Bible study every day and goes to church every Sunday, and is proud that none of his children have ever had problems with drugs or alcohol.

Meanwhile, Alice can be seen as King Herod in the live action version of 'Jesus Christ Superstar' alongside John Legend in the lead role on NBC next weekend.

And the musician has taken inspiration from late actor Alan Rickman for his performance.

He explained: ''When I first heard about it, I thought Alan Rickman -- that condescending sort of arrogant character, and I kind of fashioned what I would do after what I thought Alan Rickman would do if he were alive.''