The effect of taxes on real interest rates can drive the effective return negative.
One of the homework problems helps understand the budget constraint.
A classic wrong answer: