This verse belongs to the YHWH run, Proverbs 16:1–9.
Quick answer
Nothing in the world is running loose. Even the wicked, who acknowledge no purpose but their own, are swept up into the LORD's justice in the end. Evil does not get an exemption from God's government; it gets a court date.
Read both lines
The first line makes the run's largest claim: everything answerable to the LORD's purpose. The second presses it into the hardest case: even the defiant do not escape the frame. "The day of doom," the footnote reads literally "the day of evil," is the day judgment arrives, and the saying's comfort is aimed at people watching wickedness prosper: what looks like a man beating the system is a man ripening inside it.
What it does not mean
The verse does not teach that God creates people in order to damn them. Proverbs is not doing that arithmetic; it is claiming that no one, however defiant, stands outside the LORD's government. Scripture speaks plainly of God's posture toward the wicked: "I have no pleasure in the death of the wicked, but that the wicked turn from his way and live" (Ezekiel 33:11). The wicked in this verse are headed toward judgment, not built for it, and every page of this book is an invitation to turn.
Related: Proverbs 21:30 · Ezekiel 33:11 · 2 Peter 3:9
New King James Version®, Copyright © 1982, Thomas Nelson. All rights reserved. Full copyright information. Scripture provided by API.Bible.
Go Deeper
If this verse has been used to put weight on you that it was never carrying, ask about it directly.