It was actually the opposite problem… they sold plenty of hardware. But they lost money on every sale and didn’t make it back on software purchases as was the plan.
In fact, the Dreamcast had sold more than the Xbox and Gamecube combined for the first several years of their lifespan.