Because interest rates and closing costs vary among lenders, not shopping around for the best mortgage terms can be a costly mistake.