If you sell you pay taxes on the gains, so you are probably better off borrowing against your investments if you need cash, since borrowing isn't a realization event for tax purposes.
Investments that pay dividends aren't as good for individuals since the dividends are taxes at ordinary rates.