Mary the Theotokos lived a sinless life because she, of her own free will, chose to.
Mary was created no differently than the rest of humanity born after the fall of Adam and Eve. She suffered with the affects of ancestral sin like the rest of us: suffering, sickness, temptation to sin and death. The difference between the rest of humanity and Mary and Jesus is that Mary and Jesus overcame each and every temptation to sin.
Mary had free will too, but she chose better than the rest of us. She used her free will perfectly unlike the rest of us. She is an awesome example of what all humans were created to do.
PART ONE
THE PROFESSION OF FAITH
SECTION TWO
THE PROFESSION OF THE CHRISTIAN FAITH
CHAPTER TWO
I BELIEVE IN JESUS CHRIST, THE ONLY SON OF GOD
ARTICLE 3
…
Mary’s predestination …
489 Throughout the Old Covenant the mission of many holy women prepared for that of Mary. At the very beginning there was Eve; despite her disobedience, she receives the promise of a posterity that will be victorious over the evil one, as well as the promise that she will be the mother of all the living.128 By virtue of this promise, Sarah conceives a son in spite of her old age.129 Against all human expectation God chooses those who were considered powerless and weak to show forth his faithfulness to his promises: Hannah, the mother of Samuel; Deborah; Ruth; Judith and Esther; and many other women.130 Mary "stands out among the poor and humble of the Lord, who confidently hope for and receive salvation from him. After a long period of waiting the times are fulfilled in her, the exalted Daughter of Sion, and the new plan of salvation is established."131
The Immaculate Conception
490 To become the mother of the Savior, Mary "was enriched by God with gifts appropriate to such a role."132 The angel Gabriel at the moment of the annunciation salutes her as “full of grace”.133 In fact, **in order for Mary to be able to give the free assent of her faith to the announcement of her vocation, it was necessary that she be wholly borne by God’s grace. **
491 Through the centuries the Church has become ever more aware that Mary,
“full of grace” through God,134 was redeemed from the moment of her conception. That is what the dogma of the Immaculate Conception confesses, as Pope Pius IX proclaimed in 1854:
The most Blessed Virgin Mary was, from the first moment of her conception, by a singular grace and privilege of almighty God and by virtue of the merits of Jesus Christ, Savior of the human race, preserved immune from all stain of original sin.135
492 The “
splendor of an entirely unique holiness” by which Mary is “enriched from the first instant of her conception” comes wholly from Christ: she is “redeemed, in a more exalted fashion, by reason of the merits of her Son”.136
The Father blessed Mary more than any other created person “in Christ with every spiritual blessing in the heavenly places” and chose her “in Christ before the foundation of the world, to be holy and blameless before him in love”.137
**493 The Fathers of the Eastern tradition call the Mother of God “the All-Holy” (Panagia), and celebrate her as “free from any stain **of sin, as though fashioned by the Holy Spirit and formed as a new creature”.138 By the grace of God Mary remained free of every personal sin her whole life long.
IN BRIEF
**508 From among the descendants of Eve, God chose the Virgin Mary to be the mother of his Son. “Full of grace”, Mary is “the most excellent fruit of redemption” (SC 103): from the first instant of her conception, she was totally preserved from the stain of original sin and she remained pure from all personal sin throughout her life. **
scborromeo.org/ccc/p122a3p2.htm#484