Underwhelming sound quality while listening to music on Spotify is most likely a result of poor quality headphones, but maybe the equalizer settings in Spotify can help, at least a little.
The Spotify app on mobile and desktop and has a built-in music equalizer you can try. It can be found under the app's settings, and has different presets available depending on the type of music ...