God allows struggle and difficult times because we are sinners and we all come short of the glory of God. God loves us, but because of our sinful nature, He allows these things to happen.