You have not shown any scriptures that even vaguely point to gambling.
There are principles.
No, I do not think you should invent commandments to support what you were taught by some legalistic individual. Scripture forbids going beyond what is written.
So what is written:
Prov.13:11 Wealth gained hastily will dwindle,
but whoever gathers little by little will increase it. ESV
1 Timothy 6:10 ESV
For the love of money is a root of all kinds of evils. It is through this craving that some have wandered away from the faith and pierced themselves with many pangs.
Hebrews 13:5 ESV
Keep your life free from love of money, and be content with what you have, for he has said, “I will never leave you nor forsake you.”
Matthew 6:24 ESV
“No one can serve two masters, for either he will hate the one and love the other, or he will be devoted to the one and despise the other. You cannot serve God and money.
Ecclesiastes 5:10 ESV
He who loves money will not be satisfied with money, nor he who loves wealth with his income; this also is vanity.
Ephesians 4:28 ESV
Let the thief no longer steal, but rather let him labor, doing honest work with his own hands, so that he may have something to share with anyone in need.
Acts 20:35 ESV
In all things I have shown you that by working hard in this way we must help the weak and remember the words of the Lord Jesus, how he himself said, ‘It is more blessed to give than to receive.’”
1 Corinthians 6:12 ESV
“All things are lawful for me,” but not all things are helpful. “All things are lawful for me,” but I will not be enslaved by anything.
Luke 12:15 ESV
And he said to them, “Take care, and be on your guard against all covetousness, for one's life does not consist in the abundance of his possessions.”
1 Corinthians 6:9-10 ESV
Or do you not know that the unrighteous will not inherit the kingdom of God? Do not be deceived: neither the sexually immoral, nor idolaters, nor adulterers, nor men who practice homosexuality, nor thieves, nor the
greedy, nor drunkards, nor revilers, nor swindlers will inherit the kingdom of God.
Mark 7:20-23 ESV
And he said, “What comes out of a person is what defiles him. For from within, out of the heart of man, come evil thoughts, sexual immorality, theft, murder, adultery,
coveting, wickedness, deceit, sensuality, envy, slander, pride, foolishness. All these evil things come from within, and they defile a person.”
Proverbs 28:22 ESV
A stingy man hastens after wealth and does not know that poverty will come upon him.
2 Thessalonians 3:10 ESV
For even when we were with you, we would give you this command: If anyone is not willing to work, let him not eat.
Exodus 20:17 ESV
“You shall not covet your neighbor's house; you shall not covet your neighbor's wife, or his male servant, or his female servant, or his ox, or his donkey, or anything that is your neighbor's.”
Acts 20:33-35 ESV
I coveted no one's silver or gold or apparel. You yourselves know that these hands ministered to my necessities and to those who were with me. In all things I have shown you that by working hard in this way we must help the weak and remember the words of the Lord Jesus, how he himself said, ‘It is more blessed to give than to receive.’”
Acts 4:34 ESV
There was not a needy person among them, for as many as were owners of lands or houses sold them and brought the proceeds of what was sold
--The Bible says much on the subject, just not in the same words that you would like it to. It does not say: "Thou shalt not buy a lottery ticket." It doesn't have to. It directs the issue in many other ways using many other principles. The principle of greed and covetousness are outstanding. This verse in particular is what stands out when one buys a lottery ticket:
Prov.13:11 Wealth gained hastily will dwindle,
but whoever gathers little by little will increase it.