There are two scriptures one can point to, just for openers:
"Be not drunk with wine...". In other words, don't subject yourself to impaired and altered mental states.
Then 1 Peter 5:8 - "Be of sober spirit, be on the alert. Your adversary, the devil, prowls around like a roaring lion, seeking someone to devour."
In other words, there is a connection between having an un-sober spirit...and being taken advatage of and being set upon...by the Devil. Just like the other brother here has said: