This is true if you are worried about market price, but not if you are a value investor worried about the intrinsic value. The stock with a 5% earnings yield growing at 6% will throw off more cash than the bond will, even if the market price is more sensitive, and thus will have a higher intrinsic value than a 5% fixed coupon bond, even if the bond is less volatile in market price.