I find just writing/executing the SQL queries with some sort of api (e.g. asyncpg or sqlite3 for Python) much simpler. The only use-case I can think of is easy of transferring between databases (e.g. from SQLite to PostgreSQL) or a specified schema to reference from (so you get type hints and stuff like that).
From then on our team we decided to switch to using an ORM rather than doing messy SQL queries that could lead to that incident.
We are currently still hitting hundreds of thousands of queries on the backend and the team not looked back since.
When I’ve asked other programmers why they use an ORM the answer usually comes down to “Because I don’t know SQL well enough to write it myself.”
Understanding SQL and the relational model has for me proved the most valuable and durable skill I ever acquired. I’ve avoided rounds of layoffs and got hired just because of that skill.