It is in your contract. Usually if you are not happy with the inspection, you can get the money back.
It is almost a standard clause in the contract.