The book of Deuteronomy concludes by stating that since then, there has never been another prophet like Moses—no one who knew God the way Moses did, and could do the miracles Moses did.
But earlier in Deuteronomy, Moses says God is planning to send another prophet like him. Who would that be? The New Testament claims that Moses was talking about Jesus, and Jesus was greater than Moses. If that was really who Moses meant, then I guess that wouldn’t really contradict Deuteronomy saying there hadn’t been another prophet like Moses, since Deuteronomy was definitely written before Jesus.
But is that really what Moses meant when he said there would be another prophet like him? Looking at the context, it seems Moses was talking about a prophet who the Israelites could consult when they moved into the promised land, so they wouldn’t have to resort to other kinds of divination that God didn’t approve of.
Moses was clearly not talking about a prophet who wouldn’t come till hundreds of years after Israel had already disobeyed God in that way so thoroughly that God put an end to their kingdom. More likely, Moses was talking about his immediate successor, Joshua.
Joshua spoke to the people for God, which makes him a prophet. And God was with Joshua, just like he was with Moses. To prove it, Joshua did the same kind of miracle Moses was known for.1 And the people thought just as highly of Joshua as they had Moses. So that’s probably what Moses was talking about when he said God would send another prophet like him.
But did Joshua perhaps come after Deuteronomy was written, so it would still be accurate for Deuteronomy to say there hadn’t been another prophet like Moses? No, Joshua established his reputation by doing his own water-parting miracle very shortly after Moses died. And the statement at the end of Deuteronomy was clearly written quite some time after Moses died. Otherwise it wouldn’t make sense to talk about what had or hadn’t happened since Moses. So that statement is simply wrong according to the Bible, since it ignores the existence of Joshua.