for all have sinned and fall short of the glory of God (Romans 3:23).
There is no exclusion for Mary and God would not say "all" without meaning all,
A question regarding “all have sinned”...
Do babies sin?