I'm 46 and basically retired now because I felt like my opportunities were drying up. You'll probably be able to get a job, but it will be at a second or third tier company that is questionably managed and considers you to be a cost center. So you'll have no political power and everyone breathing down your neck to get things done - while also having you sit in meetings half the time. You won't be able to work at a FA…
This seems like a pretty extreme point of view. Not that ageism doesn't exist... but I entered the tech industry at age 38 and have gotten offers from two FAANG companies. I do think I'm a good programmer (obviously if you suck you'll have trouble getting a FAANG offer) but not God's gift.
Its different for most of us and I'm sorry to say you just don't know how bad it is. Many people I formerly worked with are currently severely underemployed. Its not that we are bad (I shipped a couple Xbox games, so I'm not an idiot), we are simply unfashionable.