Proverbs 16:4

BSB
The LORD has made everything for His purpose—even the wicked for the day of disaster.