Yes! This always seems to be one of the hardest areas of guitar growth. You summed it up really well, too. How do you use technique musically? There are TONS of approaches for this problem and I’m sure each one works for someone out there. The two ones that I like to keep in mind that help me feel more musical are:
1. Hum what you are playing. I say hum instead of “sing” because the pitch isn’t really important. It’s the cadence and rhythm that are. If you hum something like “Jingle Bells”, you’ll notice that the pace is actually pretty fast (or you can at least hum it pretty fast). But the melody and rhythmic cadence is still really strong. Let the music come from you, not just the scales you’re practicing and it’ll always be solid!
2. Steal from the best. If you’re feeling that your legato and economy picking is strong, try hunting down riffs using these techniques from other players that you think sound cool. Guthrie Govan, Greg Howe, Frank Gambale, Synyster Gates, etc. are great examples to check out
Figure out how they are using those tools and try learning a couple of their licks. It’s much easier to create improvised lines if you have a bag of tricks to pull from.
Hope that helps, but I think the main thing is to just keep playing… If you’re a musician, you’re always going to be trying to improve aspects of your playing. I know I definitely have a lot to work on! But that’s the cool thing about it too- you get to play guitar AND get better at PLAYING GUITAR! pretty sweet deal.