> but its cheaper and easier to use this existing, available, code to do the job.
What often happens is that the existing, available, sometimes even popular and well regarded code has lots of issues that you may only find after you deploy the thing. Then, you need to decide what tack to take. Can you engage upstream? Do you end up maintaining third party code yourself to fix the issues? Working around quirky bugs? You may even find yourself so frustrated with all of the above that you wind up abandoning the dependency and writing something new in-house.
But honestly, getting back to the topic, sqlite is not one of those things. Sqlite is a very solid library.