Yes. WordPress requires access to a MySQL or MariaDB database to store information. So you’ll need a database.
You should create a new database if:
If you are using the same database for multiple WordPress installations, take care to edit the wp-config.php file ensuring that each installation has a unique database prefix.
If you are setting up a new database for a new website, edit wp-config.php, and be sure to get the database name, and other details correct.
Installation, Detailed Instructions