Proverbs 16:4

English Standard Version

4 The Lord has made everything for its purpose, even the wicked for the day of trouble. (Ex 9:16; Job 21:30; Ro 11:36)

New International Version

4 The Lord works out everything to its proper end – even the wicked for a day of disaster.

New International Reader’s Version

4 The LORD works everything out to the proper end. Even those who do wrong were made for a day of trouble.

King James Version

4 The LORD hath made all things for himself: yea, even the wicked for the day of evil.