Proverbs 16:4 NRS

4 The Lord has made everything for its purpose, even the wicked for the day of trouble.