Does using a library still expand one's abilities in general game-development?

Soon I’m going to start using an external library to develop my 2D games (instead of the Swing and Java2D libraries).

My question is:

When using a common library (such as LWJGL, but not only) - Does one still expand his knowledge and abilities in general game development?

I fear that once I start using a library such as LWJGL, a lot of the knowledge I’ll acquire while developing games, won’t be relevant outside of the library.

I want to constantly advance and become better as a game developer. Studying a library and spending hours developing, only to discover it hadn’t made me a better developer overall, is something I fear.

So - Will using an external library to develop my games still allow me to constantly learn new things and expand my abilities - in general game development? (Meaning the experience and knowledge I’ll gain while developing will also be relevant outside of the specific library). Are there specific libraries I should avoid, libraries that developing with doesn’t allow you to truly become better in general game development?