There were laws in place that protected you from being evicted if you couldn't pay your rent. You could have stayed if you really wanted to.
However, as US governments are prone to do, the decision is made to punish those who were prudent and made sacrifices, and to assist those who took risks. Which might be okay if the government was giving the cash to everyone, as that would not punish those who made sacrifices.