Heart And Vanity in the WEB
5 verses of the World English Bible have both "heart" and "vanity".
Ecclesiastes 2:1 I said in my heart, “Come now, I will test you with mirth; therefore enjoy pleasure;” and behold, this also was vanity.
Ecclesiastes 2:15 Then I said in my heart, “As it happens to the fool, so will it happen even to me; and why was I then more wise?” Then I said in my heart that this also is vanity.
Ecclesiastes 2:23 For all his days are sorrows, and his travail is grief; yes, even in the night his heart takes no rest. This also is vanity.
Ecclesiastes 11:10 Therefore remove sorrow from your heart, and put away evil from your flesh; for youth and the dawn of life are vanity.
Jeremiah 23:16 The LORD of Armies says, “Don’t listen to the words of the prophets who prophesy to you. They teach you vanity. They speak a vision of their own heart, and not out of the mouth of the LORD.