Most software is awful, not just enterprise software.
The reason most software is awful is the same reason most text books are awful. They are hard to write and worth a lot of money. This is a big incentive for people who don't know what they are doing to act like they know what they are doing so they can have a piece of that big pie.
So, instead of learning how to code, or learning the material behind the text book, those who know nothing, instead focus on politics to move their product.
I think he was joking. Enterprise software is notorious for its awfulness.