"Walked in the way" here is a metaphor for "lived in the same way as." AT: "lived the same way Cain lived" (See: :en:ta:vol1:translate:figs-metaphor)