When Moses ascended to heaven, he found G-d sitting and writing "forbearing." Said Moses to G-d: "Master of the Universe! Forbearing to the righteous?" Said G-d: "Also to the wicked." Said Moses: "Let the wicked perish!" Said G-d: "See now that you will need this." When Israel sinned, G-d said to Moses: "Did you not tell Me to be forbearing only toward the righteous?" Said Moses to Him: "Did You not say to me, 'Also to the wicked'?"
Talmud, Sanhedrin 111a