Because, in most applications, a lot of your SQL queries will be doing boring CRUD operations (select row by PK, select rows matching indexed condition with limit/offset, update/delete row by PK, etc). Using an ORM means you don't have to waste time writing out boilerplate SQL for those operations. If it's a really good ORM, it can help generate more complex queries as well.