Thanks for your comment.
Indeed, dying in the cave is part of the gameplay loop, you just have to kill as many monsters as possible before dying to accumulate enough money to buy lots of seeds.