In an overwhelming majority of cases where social media ruins a life, I've seen it do only one of the following: (A) change a personality toward opportunism; (B) lose jobs; or (C) chase an endless pursuit of vanity.
In an overwhelming majority of cases where drugs ruin a life, I've seen all 3 at once.
They can both ruin lives and people, no arguing that. But a life ruined by drugs is almost always so much more detrimental and all-encompassing than someone ruined by social media, it's just not a fair comparison.