So in the Amidah we have this tefillah (prayer) of Tishkon Betoch Yerushalayim. It is one of the tefillot of the redemption, of rebuilding the Beit HaMikdash, and specifically of Hashem's Shechinah (the Divine Presence) resting in Yerushalayim. There are a couple of points. One is that there's a mitzvah (commandment) to remember ten zechirot, ten things to remember throughout the day. Many of them you know, for example, Amalek, and remembering Shabbat and Yetziat Mitzrayim. A lot of them are in our tefillah; there's a method to remember them. Tishkon Betoch Yerushalayim is a way to remember Yerushalayim. It is a mitzvah to remember Yerushalayim and its need to be rebuilt. You remember it when you say this tefillah of Tishkon Betoch Yerushalayim.
We mention in there the throne of David HaMelech being re-established. Why is that necessary? It's brought down that there's a direct connection between the building of Yerushalayim and David HaMelech's throne. They are directly related. In order for Yerushalayim to be rebuilt, we need Kisei David, the throne of David, to be re-established.
Thirdly, the final point is this. The Mabit says that, since we're praying for the Ge'ula (redemption) every single day, people might be discouraged. You've been around for a long time. The world has been around for a long time. We've been praying for this for a very long time, so you might be discouraged. It says in the Mabit that the way it works is, when it comes to the Ge'ula, every single tefillah is being piled on to eventually reach the goal. Once we hit the quota of tefillot, then the Beit HaMikdash is rebuilt, bimheirah b'yameinu (speedily in our days), Amen (so be it).