Sentence1: Sam's son wanted a dog. Sentence2: Sam could not afford it. Sentence3: Sam got a second job for extra money. Sentence4: Sam worked very hard.
With the money, Sam was finally able to buy a dog.