Not true for everyone, I’ve worked in fields that are very interesting to me and felt bored, then worked in fields that are not at all interesting to me and I really enjoyed it. I’ve found my day to day happiness has less to do with the actual thing I’m making with software and more to do with who I’m making it with and if I feel I’m growing somehow through it.