Since he obeyed God in his life to his age 40 and in his life to his age 80, everything worked for his good.