And We gave him Isaac and Jacob and guided them , as We had guided Noah before them , and of his descendants , David and Solomon and Job and Joseph and Moses and Aaron . Thus We reward those who are upright and do good .