Tax deductions may tempt you to borrow more than you can afford. Even after availing the tax deduction, your net cash outflow will be high. Moreover the mortgage is generally for a long such as 20-25 years.
Your repayment commitment may upset your budget especially if your future earnings are uncertain.
If you want to learn more check out these resources: