Proverbs 16:4; Proverbs 16:33

4 The Lord has made everything for his purpose, even the sinner for the day of evil.
33 A thing may be put to the decision of chance, but it comes about through the Lord.