He (God, Jesus, Holy Spirit) gives us free will, wanting us to chose Him and not sin. As evil's strength has grown throughout time, He has stepped in to help us (when He wants to, according to his plan, The Plan). And also requires different things from us, depending on the situation.
What is the Book of Mary? I am not familiar with it. Something Catholic?