 Similarly, as long as Moses remained in office, he imprisoned whomever he desired and released whomever he desired, but when he was relieved of his office and Joshua was appointed in his stead, and he asked to be permitted to enter the Promised Land, God in denied his request.The Gemara deduced from Moses's example in that one should seek a suppliant frame of mind before praying.Rav Huna and Rav Hisda were discussing how long to wait between recitations of the "Amidah" if one erred in the first reciting and needed to repeat the prayer.