Fannie was a Depression years invention.
It was created to encourage lenders to offer 30 year mortgages.
Before Fannie your mortgage would run 3-5 years after which you had to get a new one for the balance that you still owed. If you couldn’t find a lender you lost your house.