Job was a very wealthy man in both goods and a large family. He suffered loss in both. God knew he would remain faithful despite his hardships and the poor advice from his wife and friends.
Job did get frustrated a towards the end, however God reminded him that Job was not present when He laid the foundation of the universe.