Can a Christian Get a Divorce?

Have we made it the unpardonable sin? Some churches won’t allow divorced preachers or deacons. Divorced Catholics are often not invited to take the Eucharist. Is it forbidden for Christians to end their marriage?