Not long after I turned 18, I concocted a plan to win money at the casino. I'd wait for 10 blacks or reds, then bet the other, then if it won, keep the money and if it lost, double down until it won. Rinse and repeat. There was no logic to this except in my idiot head lots of blacks meant red was due and vice versa - don't do this! Coincidentally I also had $5K, which at that time was my entire life savings from 3 years working in high school. After about 6-7 hours there, I'd won maybe $200, and then it happened - 20 reds in a row. All gone. I had almost no food in the house and rent due in 9 days. I had one day of work before then but that wouldn't cover it, and I had to eat in the meantime.
24 years later, I remember that feeling like it was yesterday. I could never tell anyone, I was so ashamed. I'd die first. And speaking of shame, the only way I could think to make money before the weekend was to pick up a few cleaning supplies from the house and door knock, offering to wash people's windows for $1 each. I didn't have a car so I had to do this locally, where people might recognise me. That was the worst part. Luckily it didn't happen.
In the end, when I knocked and someone answered, I told them I was doing it for charity. And many people went along with it and were very nice. Some even offered me something to drink. Some paid more than I asked. Once I got into the swing of it, it actually wasn't so bad, although I was lying about the charity part. I made about $800 that week, which was enough to get me through the next few weeks, during which I found steady work and got back on my feet.
I can understand the feeling. Your financial situation isn't that desperate yet. But if it gets there, there's probably a way to get through it without admitting to what happened if you're like me and just can't face that. Personally, I'd be far less ashamed of what happened in your case and maybe even own up to it and face the music, the fear of the reaction is probably worse than the reaction itself will be - a bit like my fear of door knocking.