Should I take the nearby rehab job or keep my temporary warehouse job?

So I moved to a new city in my Own place and need a job close by. I got a temporary agency job at a warehouse I been working at for many years from now to month Dec , weekly pay & assignment will end end Dec. so Jan I won’t have a job. I worked my first week last wk , and got this job so I can pay my rent in one week.
I did orientation to a job 10min away at rehab nursing home for dietary aid role and second guessing now. All day u hear seniors crying yelling moaning. And cna staff running around all day gossiping.
im torn as its so close to my home.
the agency warehouse is 40min away. But rn for Christmas it’s higher pay. Jan no jobs will be hiring so I fear I’ll have no job Jan. I not want search for new job Dec and tired of going to orientations.
The manager that quit , on his last day said I would get 5am shift and now new manager wants test me for late afternoon night shift and I want morning shift and worried. I used to work many years night shift and shifted to morning day hours now. I don’t want work nights.
I feel weird as I got home I hear the screaming senior in my head all day and one was saying you will go to the devil.

Should I take the nearby rehab job or keep my temporary warehouse job?
Post Opinion