As much bad rep as schools get nowadays, if you get into a good university (think of top 50 in the world), it will open up a lot of doors for you. Very anecdotal, but I have open offers from people whom I know from uni years. Connections matter, especially in bad market days. Everything else (bootcamps, diploma mills and etc.) are just noise though, I would say it’s not worth the money.
It’s also easy for me to say, as I have about 10 YOE, but I would still prefer a candidate who went to a rigorous school. Mostly because it’s an indicator that they can figure out and learn whatever is needed.