however I'd like to introduce two points of discussion:
https://www.foxbusiness.com/economy/fed-bought-debt-from-wal...
first, Walmart is not the most outrageous of the list. coca cola is much worse. For all it's shortcomings, Walmart has a lot of domestic employees, around 1.5 millions. If the money from the fed directly went into welfare for these workers, it would have covered a couple months top, so it becomes a question of efficiency: if restructuring the debt buys a year or so before bankruptcy, it's still a net gain, under the assumption that being unemployed now would be much worse than being unemployed in 10 months after the current crisis is over.
second, Walmart effectively is the American version of social welfare. It's the kind of job almost anyone can get to get back on their feet. It's not too big too fail, nobody should be, but it's also not so bad a company to have around.