The Stanford president mentioned is 63 years old and had a full academic career before being found out. It might even be that he remains financially well-off (I'm assuming his current role paid well for the last few years).
For every big case such as this one, how many more commit fraud without being noticed?
These quotes address what a scientist should do to do science, not what is practical to have a career in academia. The latter is more relevant in practice, because rigor and integrity don't get you tenure on their own.