postgres is an incredibly rich and powerful database and its true power is unlocked when you program it directly with the language that it exposes to the world. postgres has become that standard for database for so many people and projects.
But strangely most are scared to program it with SQL.
Instead, almost everyone uses a database abstraction layer to avoid writing SQL - why is this? Why the obsession with avoiding "programming the machine"?
So instead of creating a lifelong, re-usable knowledge and skill of programming Postgres with SQL, developers are wasting their time learning abstractions and libraries and ORMs that may or may not hang around, and might not even be used at the next project you work on.
Why is it that people love postgres but they are afraid to program it with SQL?
I think that programmers who think that ORMs improve upon SQL are making the same mistake that I infer from this quote of yours.
Of the two approaches, SQL is the high-level, abstract DSL for doing the business logic you want, and ORMs are the low-level, implementation-specific technologies which you can push around with loops and conditionals.
People who choose ORMs probably do so because they perceive them to be the higher-level abstractions. But that's why I choose SQL.