There is more than one, but you might be thinking of one of these:
Prov. 16:4, "The LORD hath made all [things] for himself: yea, even the wicked for the day of evil."
Romans 9:21-23, "Hath not the potter power over the clay, of the same lump to make one vessel unto honour, and another unto dishonour?
[What] if God, willing to shew [his] wrath, and to make his power known, endured with much longsuffering the vessels of wrath fitted to destruction:
And that he might make known the riches of his glory on the vessels of mercy, which he had afore prepared unto glory,"