Acts 1:20-26, “For in the Book of Psalms it is written, ‘Let his estate be desolate, and let no one live on it,’ and ‘Let someone else take over his office,’ who was one of the men associated with us all the time the Lord Jesus came and went among us, beginning when he was baptized by John until the day he was taken up from us. Therefore, someone like this must become a witness with us to his resurrection.” So they nominated two men—Joseph called Barsabbas, who also was called Justus, and Matthias. Then they prayed, “Lord, you know the hearts of all people. Show us which one of these two men you have chosen to serve in this office of apostle, from which Judas left to go to his own place.” So they drew lots for them, and when the lot fell on Matthias, he was enrolled with the eleven apostles.”
Acts 1:20, “For in the Book of Psalms it is written, ‘Let his estate be desolate, and let no one live on it,’ and ‘Let someone else take over his office.”
Psalm 109:6-8, “Appoint an evil person (Judas) over Him (Jesus); may an accuser stand at His right side. When he is judged, may he be found guilty; may his prayer be regarded as sin. May his days be few; may another (Matthias) take over his position.”
Therefore, the apostles cannot be condemned as making a false or hasty decision on how and when they cast lots to select the replacement for Judas. For it was fulfillment of prophecy.