But that's not what happened to Toys'R'Us.
"Raider" PE doesn't care about the high interest rates because they don't intend to pay them for long enough to matter, and - as mentioned in other replies - usually the sophisticated counterparty to the loans has identified a less-sophisticated other counterparty to sell the loans to and sees this as a risk-free deal that nets them origination fees. Suckers exist. Banks make it their job to find them.
Warren Buffet would insist that he's not in private equity because Berkshire's stock is publicly traded and there's no lockup. He has publicly stated that he thinks being a PE LP is financial malpractice.
If you've heard of "Junk Bonds", this is (one source) of where they come from.
It's like a financial game of "hot potato" - you can make money as long as you're not the last person to hold the debt. So the answer to "who lends the money?" is "anyone who thinks they can sell the debt to someone else before it explodes".
In the end, a lot of it goes to "unsophisticated" individual investors, who will buy it based on "Sears (or whoever) is a great company, why wouldn't I buy their bonds" without realizing the full extend of what's happening.
Unfortunately, a lot of these and similar financial schemes end with the phrase "...eventually retail investors end up holding the bag and taking the losses." LBOs, collateralized mortgages, crypto, every equity that gets pumped and dumped. When every layer in the banking industry has skimmed its profit and did their own renaming/reselling/repackaging of these "products" finally there's some individual investor chump who takes the loss, making the numbers add up.
The banks don't end up being the bag-holders in any case, because they securitize the loans.
PE firms mostly make money on the management fees they charge the company, and by stripping assets, so they're often OK if they lose money on the ownership stake. In any case, the PE principals make money from their LPs with fat fees on assets under management so even if the entire investment goes south, it's the LPs who ultimately take the hit (5-10 years later) and not the principals.
Competent risk management so that doesn't (generally) happen is a core competency for a bank, and if regulators think you're doing it wrong they will come down on the bank's leadership like a ton of bricks.
If anybody reading this comment would like to learn more from people who understand the area far better than I do, I would recommend patio11's 'Bits About Money' and Matt Levine's 'Money Stuff.'