The idea that Mary Magdalene was a prostitute before she met Jesus is not found in the Bible or in any of the other earliest Christian writings. It has been a disputed doctrine in several theological traditions whether Mary Magdalene, Mary of Bethany (who anoints Jesus' feet in John 11:1–12), and the unnamed " sinful woman " who anoints Jesus' feet in Luke 7:36–50 were the same woman. https://en.wikipedia.org/wiki/List_of_common_misconceptions_about_arts_and_culture#Christianity
List of common misconceptions about arts and culture - Wikipedia