Learning scales may be good for learning fingering and getting the coordination working between your right and left hand, but unless you apply a specific scale to an authentic situation where it will be used, in context, such as an improvised blues solo, the scale will be disjointed from what you actually play.
I have really found this to be true, as far back as when I was taking guitar lessons as a child and my teacher would have me practice my scales and then, separately, they would teach me songs (mostly strumming and singing) and instrumental fingerstyle. They never delved into how the scales could be applied to lead guitar; therefore, the scales became unusable to me and boring to practice, so I stopped and just learned solo fingerstyle and vocal accompaniment with memorization. It is why lead guitar remained a mystery to me. I would memorize a copied solo and play it but I would hit incorrect notes under pressure and stress because I did not know the scales they had been created over. In other words, I would get lost on the fingerboard very easily.
It is the same principle as teaching jazz/swing chords: They need to be taught in context, with usable chord patterns with song/instrumental examples. I remember knowing how to finger diminished chords and such but I didn't know how to use them unless they were memorized in a song. I really did not know, at that time, how it "worked."
I teach music now, and I find that it works so much better to teach scales and chords and riffs for my guitar and mandolin students and for myself, of course, because I am also still learning and striving to become a better musician over time.