This is one of hip hop's many ills that I can honestly say isn't the "younger generation's fault".
This sh!t dates back to the early-mid 80s. THAT was the era when doing ANY type of drug was frowned upon in rap.
Weed was routinely clowned, alcohol was semi clowned, and ALL hard drugs were absolutely abhorred.
It was nothing to listen to raps back then and constantly hear a rapper talking sh!t about the n!gga in class high off weed, etc etc.
And that was the norm, that was what was "cool" - to be sober and clear headed.
Then, somewhere in the early 90s (OP must be a baby talking about the dope talk started in the early 00's lol), drugs became something to BRAG about.
If you ask me, I think the crack epidemic and the money that hood n!ggas made off of it speared this whole glorification of drugs. Many of those same cats became rappers and that's what they rapped about... or.. they inspired rappers who grew up next to the drug dealers to rap about.glorify it.