Earlier quoted context omitted.
SQL injection is totally optional. If you use prepared statements, which are easier to use than formatting arguments yourself, it’s not a possibility.
Sure, if you do it right, you can avoid the problem, but why not use a tool that prevents the problem from happening in the first place?
You absolutely 1000% do not need an ORM to prevent SQL injection. You just need to Not Be Flagrantly Incompetent. As the psycopg2 docs say: never use string concatenation, not even at gunpoint.