But in some occasional cases, the bridges you burn light up the way forward.
The person you are saying that to, who almost certainly didn't make the decision that you should be laid off, may rightfully view it as someone unable to control their emotions in a difficult moment. This is completely understandable. It's also completely understandable to remember that, and maybe that person is reviewing resumes in the future and doesn't want to work with you because of a brief outburst which does nothing to change anything?
Participating in the upside of working in the private sector and, more broadly, in any capitalist system, means also participating in the downside risk. Sometimes you'll be out. Don't take it personally, and do your best to jump ship at the point when you think that some bozo is steering the company toward ruin.