OK, I might have this Medrash wrong. So you can correct me.
When Moshe discovered about the slavery and discovered the jewish baby boys were being refused as bricks. He complained to hashem. about what a terrible thing this was , Hashem said he knew what he was doing, but then said
Hashem said take one of these boys and I will bring him back to life .
The Baby boy became Micah who was the cause of the Pilegesh in Sefer Shoftim.
I could have the story wrong so you can correct me.