Luke 11:24 “When an unclean spirit goes out of a person, it passes through dry places looking for rest but not finding any. Then it says, ‘I will return to the home I left.’
Luke 11:25 When it returns, it finds the house swept clean and put in order.
Luke 11:26 Then it goes and brings seven other spirits more evil than itself, and they go in and live there, so the last state of that person is worse than the first.”
Luke 11:27 As he said these things, a woman in the crowd spoke out to him, “Blessed is the womb that bore you and the breasts at which you nursed!”
Luke 11:28 But he replied, “Blessed rather are those who hear the word of God and obey it!”

worse than the first

Peter appears to be alluding to this statement by Jesus when he says

“Although these false teachers promise such people freedom, they themselves are enslaved to immorality. For whatever a person succumbs to, to that he is enslaved. For if after they have escaped the filthy things of the world through the rich knowledge of our Lord and Savior Jesus Christ, they again get entangled in them and succumb to them, their last state has become worse for them than their first. For it would have been better for them never to have known the way of righteousness than, having known it, to turn back from the holy commandment that had been delivered to them.” (2 Peter 2:19-21 NET).

Just like in this passage itself, an apparent believer in Christ and his kingdom is playing around with mariolatry by blessing Mary instead of Christ himself. As John Henry Jowett warns, “To have known, and then to rebel translates our very knowledge into a minister of destruction” (The Epistles of Peter, 151).