The Torah is an afterthought and it is contextual - it was given in the context of all the britot (covenants) on the Land and on nationhood, which are more primal, and the Torah wasn't mentioned until the moment it was given

Context is everything.