Great news

I am wishing you good luck with this.
I know what it is to be in a job, that makes you miserable.
Being laid off, gives opportunity (when there is unemployment check(s) ) in finding something better, and that sounds like what will happen for you, and fingers are crossed for you, wishes for luck and happiness in the new job to come

There's an old saying I've heard over the years and it holds true so often.
The old saying is, "Where (or when) one door closes another one opens". This is in an optimistic way
Take care,
DE