Not really, yet definitely.
I learned BASIC when I was in 2nd grade, and everybody else had to learn it in middle school, but it hasn’t helped me one bit. And even C++ is of questionable use to those in the IT field and useless outside of it.
That said, the real secret of programming isn’t the language; it’s the ability to form a flowchart. You figure out what you want to do first and foremost. You have to think things through logically, put steps in the right order, and do other design work before you start coding. While the ability to code is useless outside of IT, the skill to do what you must do before you code is an essential life skill for anybody who plans to do anything.
For instance, suppose you want a bowl of cereal for breakfast. Do you have milk?
IF got_milk=true
. THEN make_cereal
ELSE
. IF really_want_cereal=true
. . THEN go_buy_ milk
. ELSE make_other_plans_for_breakfast
Now, there are many people that can’t even use logic that well, so what makes you think they can ever do something complicated like live as a functional adult? But if they knew a bit about computer programming, we would have more capable people; the sort of person I might trust to live without supervision.