Two different (a)historicity hypotheses:
The view that, given a sect raising Moses to archangelic heights for the his role in Exodus, another sect raised Joshua to archangelic heights as superior to Moses (=the Law).
The view that YHWH, meant as the Jewish "Second Power in Heaven", was (soon...