Many PM still hold good jobs even the economy is bad.
Many developer lose job even the economy is good.
Totally depends on what you like to do.
With a marketable hard skill is relatively easier to find a good job.