We really can't speak for God either way on this circumstance. Maybe He did and maybe He didn't. Pain inflicts the just as well as the unjust, but it's not our job to determine that. Our job is to react in ways that please God, so it's a mute point that isn't relevant to us.
God brings peace, prosperity and life everlasting.
The enemy skulks about looking for those he can devour; the enemy exists only to STEAL, KILL and DESTROY.
Very simple to me - read what the Bible says; the enemy is the one who steals, kills and destroys. Not God.