Michael Ben Zehabe said this quote
“ Just as ceremonial fasting was a legitimate means for getting God's attention (Mt 6:16-18; Ac 13:2-3; 14:23), the casting of lots was a legitimate means for inviting God to intercede on a matter. (Pr 18:18) It was not expected that God should intervene every time (1Sam 28:6), but the ceremonial casting of lots was an invitation for God to participate in the final decision. (page 21) ”