Another interpretation: "Like the first-ripe fig on a fig tree" (Hosea 9:10). Just as this fig has no waste at all in it — for all foods [have waste in them], and a person throws some of them away, but as for the fig, a person throws away none of it at all — so the Holy One, blessed be He, said to Abraham: You are whole, and there is in you no deficiency of waste, except for the foreskin. Remove it and be perfect, as it is said: "Walk before Me and be perfect" (Genesis 17:1).
The Fig Without Waste and Abraham's One Blemish, the Foreskin
Midrash Tanchuma Buber, Lech Lecha 21:5
ד"א כבכורה בתאנה, מה התאנה הזו אין בה פסולת של כלום, שכל האוכלים [יש בהן פסולת] ואדם משליך מהן, אבל התאנה אין אדם משליך ממנה כלם, כך אמר הקב"ה לאברהם שלם את ואין בך חסר של פסול, אלא הערלה, הסר אותה והיה תמים, שנאמר התהלך לפני והיה תמים.