Having worked in companies with a variety of skill levels, I find the higher skill you go, the less hacked together things get. While I honestly don't think Agile has to stand in opposition to good design principles, most treat it as though it does in practice. Whereas in less Agile orgs, I've worked with 20 year old systems that are still maintainable and fulfill their purpose well, in Agile orgs it feels like every system more than a couple years old has become spaghetti.
I can't 100% vouch for causality - as I said, the skill differences between the average developer in some of these orgs are immense, but it says something to me that all the more talented companies I've worked in tended not to go down the "fast and hacky is fine if you iterate" path.