I can't tell my wife that I've been laid off of work.
Oh c'mon, why not let her know?
I don't want to hurt her and I'm afraid she will get angry at me.
Feeling shame about getting fired is fine. Just be honest and trust your wife.
I only got laid off. Not fired.  But we are under stress with bills and I'm still afraid to tell her.
Our partners often can help us feel better about things, not worse and in a functioning relationship you should be able to tell your wife about what happened.  I'm sure you'll feel better once you do.