>Try identifying what made it feel like a "passion." Was it problem solving and discovering new things on your own by piecing things together? Then yeah, AI probably has something to do with that in regard to software development - but there are many other avenues you can take to fulfill that whether it be unrelated hobbies or charity work, etc.
If you had a passion for coding, then unrelated hobbies or charity work wont fulfill it.
And if you have no job or a shit job or a shit coding job because of AI, no much means or morale for hobbies and charity either...