A religious relationship guru who became the driving force behind the evangelical purity movement has revealed he’s split from his longtime wife — and is no longer a Christian.

Former pastor Joshua Harris — whose 1997 book, “I Kissed Dating Goodbye,” sold more than 1 million copies — first shocked his followers earlier this month by announcing he was getting divorced from his wife of 21 years, Shannon.

The onetime senior pastor at a megachurch in Maryland followed up Saturday with a post about the “significant changes” that played a role in their breakup.

“I am not a Christian,” Harris admitted in a lengthy Instagram post, blaming a “falling away” from faith.

“I have undergone a massive shift in regard to my faith in Jesus.

“Many people tell me that there is a different way to practice faith and I want to remain open to this, but I’m not there now.⁣⁣”

Harris has already denounced the advice he gave in his bestseller — which preaches abstinence and urges readers to reject dating for courtship — yanking it from further publication.

He used his latest declaration to continue his “repentance” for his former views, specifically singling out the LGBTQ community.

“I have lived in repentance for the past several years — repenting of my self-righteousness, my fear-based approach to life, the teaching of my books, my views of women in the church, and my approach to parenting to name a few,” he wrote.

“But I specifically want to add to this list now: to the LGBTQ+ community, I want to say that I am sorry for the views that I taught in my books and as a pastor regarding sexuality.

“I regret standing against marriage equality, for not affirming you and your place in the church, and for any ways that my writing and speaking contributed to a culture of exclusion and bigotry.

“I hope you can forgive me.⁣⁣”