A while back, a client called me in to look at a system whose author has left years ago. It was a mess. And for no good reason, it used Docker extensively, and would only work with a specific pre-release version. I searched and discovered that the guy had stayed just long enough to do a talk on this then-hot new technology before getting a better job elsewhere.
It was the clearest example of Resume Driven Development I'd ever seen, but no means the only one.
I worked at a startup that locked all the architects cronies in a room for a number of months to build every white paper he was interested in. Told rest of company to adopt this new world order… within a year of the rewrite they laid off 2/3 of engineering and sold the company off shortly thereafter. Architect accepted a role at FAANG for experience gathered. I remember a lunch with him where he joked “I usually leave companies worse off than when they started.” Self-indulgent psychopath.