The example is horrible because time matters. If that $100,000 gain is over 30 years then the annual return of 1% is offset by the 3% interest on the mortgage for an annual loss of -2%, before accounting for inflation. (This is rough, but no rougher than the article example)