There is another way

Bonds now provide an attractive alternative to stocks. Bond yields have risen to the point where they now generate nearly as much per dollar invested as stocks produce in earnings. (S&P 500 earnings yield minus yield on 10-year Treasury bond)

Source: bloomberg