First, reading in order you go from Luke to John then back to Luke, because the author of Luke wrote Acts. It is kind of wild to see the difference in style, and frankly theology. More on that as we go.
For today, Peter was telling the disciples that they had to replace Judas. Why? Here's what Peter says:
For," said Peter, "it is written in the book of Psalms,So, the question is, did Peter believe that in writing those words in the book of Psalms, the author intended to be talking about whether the Apostles should replace Judas? OR (and yes, this is a case where the second choice is the only reasonable choice) was he referring to the old words as a way to make his point, basically arguing by analogy?
" 'May his place be deserted;
let there be no one to dwell in it,' and,
" 'May another take his place of leadership.'
I've done this. In considering the dilemma of starting a new church I've referred to our time wandering in the wilderness. I've speculated that perhaps we need to just cast our nets to the other side of the boat. But that doesn't mean if we change something with our evangelsim and it works that I believe the cited story foretold our sucessful bring-a-friend-Sunday initiative. More of this here. Again, I believe Peter is likening Jesus to David's vision. I don't think Peter is suggesting the David "knew" that Jesus was coming.