Can I recommend Ed Friedland books to you @Harryb0201
he does lots of YouTube also. See also @Stuart Clayton for explaining extended scale patterns
I also commend “bass guitar for dummies”, in the local library probably, as the author deconstructs the process of choosing notes for a bass line over given chords in a painless and informative manner. Lightbulb moment for me as he did it in just the right way.