"at that time" (, ba'eit ha-hiv), a Midrash deduced that the events of the two verses took place at the same time. Thus Rav Huna taught that as soon as God told Moses to hand over his office to Joshua, Moses immediately began to pray to be permitted to enter the Promised Land. The Midrash compared Moses to a governor who could be sure that the king would confirm whatever orders he gave so long as he retained his office. The governor redeemed whomever he desired and imprisoned whomever he desired. But as soon as the governor retired and another was appointed in his place, the gatekeeper would not let him enter the king's palace. 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. Rabbi Samuel bar Nahman taught that Moses first incurred his fate to die in the wilderness, about which God told him in , from his conduct at the Burning Bush, for there God tried for seven days to persuade Moses to go on his errand to Egypt, as says, “And Moses said to the Lord: ‘Oh Lord, I am not a man of words, neither yesterday, nor the day before, nor since you have spoken to your servant’” (which the Midrash interpreted to indicate seven days of conversation). And in the end, Moses told God in , “Send, I pray, by the hand of him whom You will send.” God replied that God would keep this in store for Moses. Rabbi Berekiah in Rabbi Levi's name and Rabbi Helbo give different answers on when God repaid Moses. One said that all the seven days of the consecration of the priesthood in , Moses functioned as High Priest, and he came to think that the office belonged to him. But in the end, God told Moses that the job was not his, but his brother's, as says, “And it came to pass on the eighth day, that Moses called Aaron.” The other taught that all the first seven days of Adar of the fortieth year, Moses beseeched God to enter the Promised Land, but in the end, God told him in , “You shall not go over