Playing scales and arpeggios is the best way of internalising the sounds of the notes, chords, their relationships, of learning the neck, of developing consistent attack, phrasing etc etc. There are other ways but scale use allows you to be systematic about it.