Proverbs 16:4; Proverbs 16:33

4 The LORD has made everything for its own end -- Yes, even the wicked for the day of evil.
33 The lot is cast into the lap, But its every decision is from the LORD.