Great job!
It is crazy how quickly our brain can start to rationalize things. Like oh it is only 10, oh I can take a bunch at once, oh it isn't illegal, oh I can sleep better, not like anything can happen in 2 days, well drinking is legal, etc. etc.
You did a great job of assessing the situation for what it truly was and acting accordingly. Woot woot!