There is NOT a shortage in developers. There NEVER WAS.
Big Tech simply couldn't stomach the rise in salaries that we saw between 2005 and 2017/2018. This all comes down to cost. There's plenty of talent not just in the US, but abroad. But big tech continues to see a need to drive prices down, and profits up. The best way to do that? Pay employees less.
Trust me when I say that programming is a blue collar job in 10 years. Big tech has done a phenomenal job convincing even engineers, that the pool of talent is "so small" that their job couldn't possibly be at risk if everyone and their mother gets a CS degree.
Good luck to you, if that's your mindset.