The Scarlett series of external soundcards, especially the USB-powered ones, are notably lacking in available preamp gain. They'll handle line-level signals and higher-sensitivity condensers just fine, but boosting a low-level signal from a low-sensitivity mic - or an unbalanced high-impedance signal from a bass - just isn't their forte. It's not totally the interface's fault, though there are a few boxes out there with significantly more gain on tap.
There are some things to check; if you're not using the ASIO driver, make sure your Windows mic volume is maxed; videoconferencing and gaming software often pull this level down to avoid clipping. ASIO bypasses the WASAPI system for "desktop audio" (good thing too, as WASAPI latency can easily be in the 50ms range) so input gain trimming shouldn't be an issue. Whatever DAW you're using to record, you can add some digital gain there as well (just be mindful that gain this late will increase the noise floor), and make sure your bass's battery is fresh, as you're depending on that power source giving you the full 9 volts.
However, the interface is still not ideal. Everyone I know who uses a bus-powered Scarlett with anything other than a desktop condenser (including myself) does so with an external preamp of some kind running in front of the Scarlett, so the preamp does the true line boosting while the soundcard is mainly for level trimming and AD/DA conversion. I myself run a small mixing console in front of my 2i4 that has about 60dB of mic gain available, but if you don't happen to have one of those around, the budget option is a simple clean boost pedal like a TC Spark. 30dB of pretty darn clean amplification (with the full-size pedal; the Mini does 20), and staying unbalanced instead of needing the mic input, make this an attractive option if your budget won't cover a true preamp. These start around $150 new for options like the EHX Battalion, more TalkBassy options will be in the $200-$400 range for Tech21, Aguilar, Darkglass etc.