King James Version (KJV)
The LORD hath made all things for himself: yea, even the wicked for the day of evil.
Modern English
The LORD has made everything for its purpose, even the wicked for the day of trouble.
Hebrew
כֹּ֣ל פָּ֭עַל יְהוָ֣ה לַמַּעֲנֵ֑הוּ וְגַם רָשָׁ֝֗ע לְי֣וֹם רָעָֽה׃
kol paʿal yhvah lamaʿanehv vgam rashaʿ lyvom raʿah