Many people struggle with questions like this. Here's John Piper's answer. He points helpfully to where your hope should be when thinking on these things.

Watch on YouTube

Read the transcript here.