This is all very well and good until the code you’ve written to solve the problems becomes a bit too unwieldy, then you need to become better at writing code.
The problem you were solving was solved, but now you have a new problem to solve.
True then, the best code you can write, is indeed, no code at all.