Two answers / details
1. Must save enough money for 20% (or more) for a down payment
2. House payment and taxes, house needs. Not to exceed 28% of your take home pay.
If you can't do both of them correctly, then just rent until you do, you will be far better off