I answer that, It might be assigned as a reason for the Law being given to the Jews rather than to other peoples, that the Jewish people alone remained faithful to the worship of one God, while the others turned away to idolatry; wherefore the latter were unworthy to receive the Law, lest a holy thing should be given to dogs.
But this reason does not seem fitting: because that people turned to idolatry, even after the Law had been made, which was more grievous, as is clear from Ex. 32 and from Amos 5:25,26: "Did you offer victims and sacrifices to Me in the desert for forty years, O house of Israel? But you carried a tabernacle for your Moloch, and the image of your idols, the star of your god, which you made to yourselves." Moreover it is stated expressly (Dt. 9:6): "Know therefore that the Lord thy God giveth thee not this excellent land in possession for thy justices, for thou art a very stiff-necked people": but the real reason is given in the preceding verse: "That the Lord might accomplish His word, which He promised by oath to thy fathers Abraham, Isaac, and Jacob."
What this promise was is shown by the Apostle, who says (Gal. 3:16) that "to Abraham were the promises made and to his seed. He saith not, 'And to his seeds,' as of many: but as of one, 'And to thy seed,' which is Christ." And so God vouchsafed both the Law and other special boons to that people, on account of the promised made to their fathers that Christ should be born of them. For it was fitting that the people, of whom Christ was to be born, should be signalized by a special sanctification, according to the words of Lev. 19:2: "Be ye holy, because I . . . am holy." Nor again was it on account of the merit of Abraham himself that this promise was made to him, viz. that Christ should be born of his seed: but of gratuitous election and vocation. Hence it is written (Is. 41:2): "Who hath raised up the just one form the east, hath called him to follow him?"
It is therefore evident that it was merely from gratuitous election that the patriarchs received the promise, and that the people sprung from them received the law; according to Dt. 4:36, 37: "Ye did [Vulg.: 'Thou didst'] hear His words out of the midst of the fire, because He loved thy fathers, and chose their seed after them." And if again it asked why He chose this people, and not another, that Christ might be born thereof; a fitting answer is given by Augustine (Tract. super Joan. xxvi): "Why He draweth one and draweth not another, seek not thou to judge, if thou wish not to err."