Was Mary Magdalene a prostitute?

The figure of Mary Magdalene appears more times in the Gospels than the figure of Mary. Different women who appear throughout the Gospel have joined in Mary Magdalene. It was in the 5th century when they were mixed by the work of Pope Gregory the Great and it was at that time that the amalgamation of a woman who falls in love with Jesus was created, leaving behind her life as a sinner to become an example of a woman. Therefore, Mary Magdalene was not a prostitute but uniting all the Marys that appear in the Gospel, plus the story of the seven demons, plus the scene of the anonymous sinner, the character of Mary Magdalene is built, which has survived to this day.