this
I wonder if anyone who suggests that people go into software development has ever actually worked in software development?
They can't have.
If you are on the sharp end of project delivery i.e. actually coding the thing you will be under silly pressure a lot of the time.
Over promised, under spec'd projects are the norm not the exception.
Deadlines plucked out of some manager's ass is the norm not the exception.
Users who are clueless about what the system should do is the norm not the exception.
There is lots of interesting stuff in Data Science and AI but as most of it is no use whatsoever in a current business context you will then be involved with spaffing lots of cash down the drainpipe in mindless projects sponsored by clueless exec's, there is no job satisfaction in that unless you are a geek and are paid to geek out.
It's complex and frankly unless you love code just don't do it, you might be lucky and end up in some cushy job where there is no pressure but risky, as management can always be tempted by the cheap labor option.