It can be the opposite as well. I liked programming when I started doing it, over 30 years ago now. I don't like doing it anymore, although I am "good at" doing it, and it's really the only skill I have that will earn me the income I want to have. I will happily abandon it the day I retire and at least right now I my first priority is going to be reducing the amount of computer technology in my life to the absolute minimum.