We were created in the image of God, who is just, but because of sin, we live in a dark world that frequently seems unfair. Mysteries assure us that evil will be punished eventually.
So ultimately the mystery genre is important to read because it helps us not to be deceived, reminding us that God is just and will not be mocked: we will reap what we sow. (Gal. 6:7)