Why did God enslave the Jews?

A Midrash – one of the few places in which the Sages expressed their disquiet about this strange stratagem of providence – expresses the problem very acutely: