Tips for getting better

Hi, I’m relatively new to guitar. I know the CAGED chords, the A minor pentatonic, and practice the spider exercise very often. I want to truly get better at understanding the pentatonic scale and eant to know how to create/why I’m playing notes in certain patterns. Overall, I just want to get better. Any tips for someone at my level?