Working in a technical role I'm often asked to 'mentor' people trying to break in. They think that tech roles are highly paid, with cushy conditions.
That can be true, but the industry can also be quite cyclical. Your job is always at risk of being offshored/automated, you need to keep learning completely new things and there's no structured career path/consistency in hiring across firms.
This seems to shock them!
AIBU to wonder all the 'learn to code' that's being pushed by the media has obscured the truth of a career in this field?
There are better fields, like accountancy if you just want to get qualified and have a stable job. Chartered accountants are always in demand!