Yes, your mother is right: What happened to you wasn't good luck—it was God! (This is one reason, incidentally, why I try to avoid using words like "luck" or "lucky," because ultimately God is in control of our lives, not blind chance.)
The first step I urge you to take is to pause and thank God for being with you and delivering you from death or serious injury. Even if God means very little to you right now, He still has shown His mercy and love to you, and you owe Him your thanks. The Bible says, "For you have delivered me from death and my feet from stumbling, that I may walk before God in the light of life" (Psalm 56:13).
More than this, I pray that you will turn your life over to Jesus Christ and make it your goal to live for Him. After all, almost 2,000 years ago, Jesus Christ came down from heaven and gave His life so you could be saved. He loves you that much! The Bible says, "How great is the love the Father has lavished on us, that we should be called children of God!" (1 John 3:1).
Don't ignore God's warning, and don't forget the way He has blessed you and given you a new lease on life. Instead, by a simple prayer of faith confess your sins to God and ask Christ to take up residence in your heart—and He will, from this day forward and forever.