Credit history/score isn't the most important factor.
Back when I lived in Central Europe, most loans/mortgages only
depended on your current income and employment history. If you held on
to a good job for several years, you could well expect to get a
mortgage without issues, even if you've never owned a credit card in
your life.
There are programs in the US for first time homeowners. My state has programs for people that never have never owned a home, or have a low credit score, or a thin credit file, or have low income. They help with down payments, lower interest rates, and extra tax credits. These programs have existed for decades.
Lenders are looking for three things:
- do you have enough income/resources to afford the payments.
- based on your current obligations can you afford the payments.
- does your credit history/score show a history of missing payments.
The first two can be calculated easily and then applied against lenders guidelines.
The third is the complex part. It is possible that the risks associated with a low score change the interest rate being offered, thus making the loan unaffordable.
That is where these government programs come in. They can lower rates, or provide down payments. Thus reducing the risk to the lender. Similar programs are also used to provide loan opportunities for students.