A database is not trivial software. If you need database features without your performance being complete shit for non-trivial datasets, you will need to effectively write your own db engine, which will most likely be much worse than postgress or sqlite unless you know a lot about writing databases and invest a lot of time into it.
Using a database is not the same as using the isEven API.
> you don't need a web framework to make a webpage
no and you don't need a database for a website. People use databases for all kinds of things where they aren't needed (looking at Wordpress for static sites). But there are lots of use cases below 1 mio users that really call for a db.
Using a database is not the same as using the isEven API.