It is possible to get your first mortgage loan with bad credit. In fact, many people advertise such loans as “bad credit first mortgage loans”. However, do not expect to get a great deal. Usually your rates will be incredibly high and you will have very little leniency when trying to negotiate these types of mortgages.
Of course, if you can supply collateral then you may get competitive rates and terms. Usually this will involve somebody else who has equity cosigning on your mortgage. Explore your options, because it is possible to get a decent mortgage loan even if you have bad credit.