A Debt-to-Income (DTI) ratio below 40% is generally considered good for a mortgage. Lenders prefer lower DTIs because it shows you can manage your debt and are less likely to default.
A DTI of 30% or less is excellent and can help you get a mortgage with better terms.