This simply isn't true. Many of my closest friendships started online - with people who share the same interest as me, which is rare to find irl. I have since met a handful of online friends in person and they're always as lovely as they were online.
Online friends were very important to me growing up, and still are today.