It’s an atrocious field to get into because the window of opportunity passed long before the startup/dotcom2.0 bubble popped.
You aren’t going to make money, you’ll be fighting for table scraps with everyone else who stupidly went in believing there was money to be found, and your job will eventually be outsourced to China or India.
If you do learn it, only do it for freelancing/side jobbery/hobbyist nonsense.
Having a decent grasp of programming can be incredibly useful to have but yeah it being your career choice is a bad idea. Most people know it for either slightly illegal reasons or for fun.