As someone who had to learn languages from textbooks back when it was the only thing that existed, it was massively ineffective way of learning.
The typical outcome was a person who spent a lot of effort and still was unable to do anything useful with the language after years (reading real book, watching movie, chatting).