You are cooked if you think the end goal was the quality of the code and not the quality of the product.
This is specifically what people pumping these ideas are doing as you can see like Sam Altman or Dario.
No the end goal is providing value to the user. Why is this so hard to accept for people in this field?
Absolutely delusional if you think the two aren't related