Leviticus 16:8

And Aaron shall cast lots upon the two goats; one lot for the Lord, and the other lot for the scapegoat.

Cross-reference

Acts 1:23-26 records the apostles casting lots to select Matthias, directly mirroring the OT practice of determining God's choice by lot.

Proverbs 16:33 Related theme

Proverbs 16:33 affirms that the outcome of lots is from the Lord, underlying the ritual where the lot determines which goat is for the Lord.