I disagree, it really depends on where you work and exactly what kind of work you're doing.
Writing avionics software, for instance, I would definitely consider "engineering". And that's a bit of an extreme case; there's lots of other software out there with a lot of rigor.
But yes, a LOT of software these days is just slapped together with processes that don't resemble any kind of true engineering practice at all.
However, let's not forget that even industries with "real engineering" are frequently full of bad or nonexistent engineering practices: just look OceanGate, or the Boeing 737MAX.