DIP financiers are NOT guaranteed repayment - they are a higher priority than pre-petition unsecured creditors, but if the business is not viable, they are below essential business expenses like payroll, insurance, warehouse rent, office lease, etc.
Many DIP financers lose money and many lose it all.
Especially in pennystock land where suckers who are in for a common share PP are often dumb enough to be suckered for a hopeless DIP financing loss (aka "the suckers double DIP").
Never underestimate the stupidity and self-destructiveness of human beings trying desperately to chase their losses. Go to any casino and watch the losers at the ATMs, then signing markers and losing the house, then selling their car at the used car lot, and walking back to the craps/blackjack tables PLANNING to win it all back THIS TIME.