"By the grace of God" is a way of saying that we acknowledge that some good things happen in our lives because of God's help or blessings. Like if you do well on a test, you might say, "I passed my test by the grace of God." It's a way of showing gratitude and giving credit to God for the good things that happen to us. It's like saying, "I didn't do this all by myself, I had help from God."