In those days Peter stood up among the believers (together the crowd numbered about one hundred twenty persons) and said, "Friends, the scripture had to be fulfilled, which the Holy Spirit through David foretold concerning Judas, who became a guide for those who arrested Jesus, for he was numbered among us and was allotted his share in this ministry. So one of the men who have accompanied us during all the time that the Lord Jesus went in and out among us, beginning from the baptism of John until the day when he was taken up from us-- one of these must become a witness with us to his resurrection."
So they proposed two, Joseph called Barsabbas, who was also known as Justus, and Matthias.
Then they prayed and said, "Lord, you know everyone's heart. Show us which one of these two you have chosen to take the place in this ministry and apostleship from which Judas turned aside to go to his own place."
And they cast lots for them, and the lot fell on Matthias; and he was added to the eleven apostles.
As one of life's Joseph called Barsabbasses, I have always found this episode in the Bible to be painful. I also read "Silas Marner" by George Elliot when I was young and was deeply affected by the tragedy of the casting of lots that screws up Silas' life. Perhaps, everyone's favourite internet church, Saint Laika's, should initiate the celebration of Joseph called Barsabbas as the patron saint of losers.