yes, good credit score comes with many benefits but 2 years credit history is not enough and won’t do much to help to lower mortgage rates.
proof of steady income for 2 years and assets( saving accts + checking accts) are a way more effective way to get a reasonable interest rate or keep saving and get a little more down payment.