Your lucky you didn't get addicted.
The risk is very real and very serious, though I wonder how many of those who happen onto a smaller quantity of pills get addicted. I'm a very 'addictive personality' I think, plus I'm a depressive with very high anxiety so should be extra vulnerable. Quite a few years ago I on occasion was handed 100-200 of those 30mg codeine pills which I ate continuously until out and I didn't get addicted and had no cravings. I have used Kratom a few times for a few months but I had no problem stopping, now it's banned so can't get any and haven't thought about it. Most recently I was taking Oxycontin for a couple of months via Rx out of absolute necessity really. I was really worried when the script ran out as I should have developed some physical addiction at least but luckily I just felt mildly off for about 48 hours. Luckily. In the UK you can get various OTC pain killers with an added 8mg of codeine and I was watching a docu about it where some were hooked from the first dose and it quickly escalated to 100 pills a day, they claimed!!!
A buffy of mine warned me to do everything possible to handle my pain without Oxycontin and the like as he is now on on methadone after having been treated with opioids so much due to several lengthy hospital stays of like 6 months+. It's good advice for sure. There's something positive about the very restrictive Rx policy over here.