Generally speaking, yes. Even if you think the market is overpriced, it's generally worth making the maximum contributions to your IRAs. The tax savings you will make are likely to be far larger than the slightly inflated cost of stocks, shares, and funds.