A small minority of them do. As far as I can tell what most software engineers value is the act of writing code.
But in many teams, I often see managers wanting more features, while I frequently see the devs argue for taking some time to address technical debt. Maybe there's some selection bias in me always being one of those devs.
In this sense it is a bit like the prevention paradox during the pandemic. If you are successful in preventing an outbreak, people will hate you for it because most people only feel the pain of the measures they had to take, and the absence of an outbreak only shows them those measures were useless. Then, to worsen things, there are also genuine mistakes in handling the pandemic and those are forever used as proof the measures are useless and its proponents incompetent. It really takes a lot of discernment to cut through all this.