Proverbs 16:4

4 The LORD made everything for a purpose, even the wicked for an evil day.