Proverbs 16:4 in the King James Version
The LORD hath made all things for himself: yea, even the wicked for the day of evil.
Context
3 Commit your deeds to the LORD, and your plans shall succeed.
4 The LORD has made everything for its own end— yes, even the wicked for the day of evil.
5 Everyone who is proud in heart is an abomination to the LORD; they shall certainly not be unpunished.