How often have you implemented a trivial feature and, after adding tests, debugging, doing code review, etc, you find it’s taken a nontrivial amount of time. And it’ll likely take maintenance too as you learn what you need (easier when you’ve seen it done already).
Most of these trivial things probably take nontrivial time, and if you add all of them together for all the trivial projects you use, it’s probably saved a really serious chunk of time.
The ocean is made of “trivial” drops of water, yada yada.