Earnest money if I can't close

What happens to my earnest money if I can’t close. I have read somewhere where the title company can’t release the money unless I give the ok. I have also read that in just about every case I can get the money back. Are these statements true?

Depends on the contingencies in the purchase contract and why you can’t close. If the contract is contingent upon financing that you do not qualify for then you get your earnest money back.