See, for example, Ecclesiastes Rabbah V, 10. The Midrashim (singular Midrash) are rabbinic homilies and commentaries on specific books of the Bible.