Programming in general honestly. Don't write code if you can avoid it, which loosely translates to "Don't solve problems that don't need solving".
Don't write code if you can avoid it and somebody will sell you a half-baked closed source SaaS, which will be acquired and closed in two years.
Or some obscure library found on github that's effectively become abandonware. Now you've just inherited a legacy codebase to maintain because some of your coworkers wanted to use a small subset of its functionality!
> The first rule of C is don't write C if you can avoid it.