We are told in Romans 8:20-21 that God has woven **apparent** futility into the fabric of existence in the material universe. Yet, Scripturally, it exists in a kind of spiritually "quantum" state where futility both exists, and does not - at the same time.
Concerning what *seems* futile to both King Solomon (see Ecclesiastes 1) and The Messiah, Himself (Isaiah 49:4) –– we are also told, "God has put all your tears in a bottle: none are forgotten" (Psalm 56:8) "even if you give a cup of cold water" to someone who needs it, "you will not lose your reward." (Mark 9:41).
The tragedies that begin the Book Of Ruth end with the birth of line of King David and the Messiah. What is our Creator, our Father in Heaven, up to?