I'm an equal opportunity addict. Booze is handy, but if there are pills around, they will do too. After coming clean with my Dr and needing alcohol to sleep and to stave off anxiety, he offered some pills. I declined, but didn't tell him that month's worth of pills would last me probably less than a week.
Don't beat yourself up too much, there was a lot of temptation. I don't know about your husband, buy mine would have hidden or thrown out the pills knowing how 'I am'.