Your database files were created by PostgreSQL version 13
I decided to abandon the idea of downgrading from 13 to 12. I reinstalled Pg 13 and am sticking with it.
I work with a platform that recommends Pg 12. However, I won't come back to 12 unless something goes wrong with 13.