I had a colleague, senior software developer with masters degree in CS who said: why should I write tests if I can write a new feature to close sprint scope faster?
The irony is when company did lay off him due to covid the actual velocity of the team increased.