Guy I knew once was the son of a nuclear physicist. While maybe not quite as smart as his Dad, he was still pretty bright. He started his career as an apprentice plumber. His plumbing career got cut short by a serious back injury so he went back to the books and got himself a degree in mining engineering. Long story short he had a great career in mining and ended up as the wealthy CEO of a listed mining company.
Another guy I know started his career as a cabinetmaker but dropped out of his apprenticeship to go into software development. He didn't have what it takes for that and now he is unemployed.
Moral of these stories? Everything depends on your abilities and interests. Hitting the books and going after a white collar job works well if you're smart. But there a lot of frustrated white collar workers out there doing meaningless work or (with AI at the moment) getting laid off. Many would be better off doing a trade.
> and interests.
That part is very important. I have seen very smart people failed to understand how truly software developer works. They just do not care. They try, as it is a good profession, but deep inside they cannot care less.
They do well. It is not like they cannot do the job. But here is no passion, they know the basics, and were they shine is in solving business problems even if their code/architecture is not very good.
In Sweden companies sometimes forbid employees of doing passion projects. They kill that same drive from the inside, but their desire for controlling workers is bigger than to actually have a successful company.
Passion is hard to come by, enjoy it.