I’m not sure I follow… If you write an application in Java/Javascript/Python/C/C#/C++/Racket/Common Lisp, isn’t it the same story there? I.e. that you’re expected to provide the DB yourself.
If one desires a convenient solution there’s always Firebase, DynamoDB or even hosted PostgreSQL solutions.
For local development one can spin up a Docker image for the DBMS.