This refers to when Moses disobeyed what Yahweh told him to do because Moses was angry with the people of Israel. (See: [[rc://en/ta/man/translate/figs-explicit]])
Why Joshua stands before Moses can be stated clearly. AT: "who stands before you as your servant" or "who helps you" (See: [[rc://en/ta/man/translate/figs-explicit]])