There can be big benefits from learning online. It is the modern version of taking a correspondence course.
I studied by correspondence course from when I was seven years old until I was fourteen years old because we were living where there were no good schools. It taught me to rely on myself and to be a self-motivator. I didn’t have to be spoon-fed by a teacher.
When I went to high school, I still used books to learn what the teachers weren’t teaching me. In fact, I would have failed all my final exams because my teachers didn’t teach me useful writing. Fortunately, I bought a little book called “Exam Secret,” and it started me on my career of beating the examiner.
Now, of course, I do nearly all my learning online, though I also use the local lending library.