1105
“And after the death of Moshe. This is connected to the chapter of the Torah in Tanach such as Ruth, Esther, Yonah that begin with the word וַיְהִי, and it was, that are not connected to any previous event. But here the beginning is definitely connected with the conclusion of Sefer Devorim where the death of Moshe is related. which concluded with the passing of Moshe; and this (Seifer Yehoshua) is connected to it.”
Joshua 1:1
Source