Jeremiah 1:5
For as the divine Paul writes, "Though they were not yet born and had done nothing either good or bad," He made Jacob the chosen one, from whom the race of the Jews sprang, but He cast out Esau. And we certainly do not say this was out of partiality; for God is not unjust, nor does He execute an unequal or biased judgment upon each of those on the earth; but having foreknown as God the future things of both and the character of each, He deemed the better and more holy one worthy of love. Just as, of course, He says He had known the blessed Jeremiah before He formed him in the belly, and consec...rated him before he came forth from the womb. For He knew, He knew he would be a prophet and be fit for the ensuing mission of making the proclamation of things to come.
Source: Commentary on Malachi