Your comment isn't a "harsh truth," and I can assure you that I'm not upset with you. Your comment is actually utterly banal and irrelevant.
Yes, I agree, programmers got lucky, and that luck is coming to an end. This has happened to many professions in the past. It's not new.
What is new is two things:
* that it's not just programmers that will be displaced, although we are among the first. Many people, possibly all of them, will have their labor value diminished by AI. This is a systemic issue that requires a systemic solution, not just a pep talk and "Get tough, buttercup,"
* that the success of AI is built on illegitimate grounds, as the training data is built by the people it's displacing; and is serving to enrich a fantastically small number of capital holders, at the expensive of literally everyone else.
So in view of that, I think it's silly and beside the point to say "Hey, tough luck" or to accuse programmers of being entitled, which is certainly the subtext in your comment. Programmers should be upset, but so should everyone else.