If the goal is to make money, you will make money. If the goal is to make quality software, you will make quality software. Sometimes those two goals are in alignment, most of the time they are at odds.
the trouble, empirically speaking, is that this "longer run" is not close enough to weigh on decisions :-)