The early believers gathered together constantly in prayer as they waited for the Holy Spirit to come. They prayed with purpose to be Jesus' witnesses, with unity among themselves, and with persistence, knowing God's willingness depends on persevering prayer. They also prayed for guidance in selecting a successor to Judas as one of the twelve apostles. After considering the candidates who were with Jesus from the beginning, they cast lots and Matthias was chosen.