I believe the Bible speaks of a falling away in the end times. This must be part that apostasia.
““Not all people who sound religious are really godly. They may refer to me as ‘Lord,’ but they still won’t enter the Kingdom of Heaven. The decisive issue is whether they obey my Father in heaven. On judgment day many will tell me, ‘Lord, Lord, we prophesied in your name and cast out demons in your name and performed many miracles in your name.’ But I will reply, ‘I never knew you. Go away; the things you did were unauthorized.’”
(Matthew 7:21–23 NLT)