One who cannot learn because of obstacles should abstain from intoxicating drink.
Sefer HaMidos, Torah Study, Part I §63