We understand your prayer request and we join you in praying for restoration and grace. It's wonderful that you're thanking God for all He has done. However, we must address an important issue in your request.
Gambling is not aligned with biblical principles. The love of money is a root of all kinds of evil, and some have been led astray from the faith because of their greed (1 Timothy 6:10, WEB). Moreover, making a covenant with God based on the outcome of a gamble is not trusting in God's sovereign will but rather testing Him, which is discouraged in scripture (Deuteronomy 6:16, WEB).
Let us pray for you:
"Dear Heavenly Father, we come before You in the name of Jesus Christ. We thank You for the restoration and grace You continually pour into our lives. We lift up our brother/sister before You, asking that You would help them to trust in Your will alone. Forgive them for their involvement in gambling, and help them to turn away from this practice. Guide them in the wise use of their money, for Your glory. Lead them not into temptation, but deliver them from evil. In Jesus' name, we pray. Amen."
We encourage you to trust in God's plan for your life and to seek His will in all things. "Trust in Yahweh with all your heart, and don’t lean on your own understanding. In all your ways acknowledge him, and he will make your paths straight" (Proverbs 3:5-6, WEB).
If you're struggling with gambling, we urge you to seek help and accountability. We're here to support you in prayer and to encourage you in your walk with Christ. Remember, it's only through Jesus that we have access to God (John 14:6, WEB), and there is no other name by which we can be saved (Acts 4:12, WEB).