Nobody is perfect. This was certainly true of Mary Magdalene, who was widely regarded by scholars to be a prostitute before embracing the knowledge of Jesus Christ. Here she is represented as being possessed by seven devils but also being healed of evil spirits and infirmities.
Many of the women in the Bible are known for their behavior before accepting Christ. As I stated before, nobody is perfect, and to judge the people around you and people in the Bible is to fill your own heart with evil and hate.
Who are we to judge?
Only God can judge us, and He will, and He did judge Mary Magdalene, who stood beside Jesus in his last days.
Was she not worthy of being beside him?
Of course she was, and her name being mentioned in these verses shows what the true content of her character was when Jesus knew her, the true content of her character when she embraced the love of God, casting out the evil spirits and infirmities.
Mary Magdalene was present at Jesus' crucifixion (John 19:25) and at his burial (Mark 15:47). Too many believers in Christ consider who she was BEFORE accepting Jesus as her Lord and Savior rather than considering who she was AFTER accepting him.
Do we do the same for other characters of the Bible?
Meditate on how we treat various figures in the Bible and cast out any evil from your own heart. Accept Jesus as Mary Magdalene is, knowing that if she can do it, you can too.

