That's why you take care of the puppy and they become loyal to you. A good raised dog will never abandon you. Most cats will if they get more food somewhere else.
Well don't get me wrong. I like dogs too. I just like cats more. For me cats vs dogs is like vanilla vs chocolate ice cream. I love them both (I used to have a German Shepherd that I loved with all my heart when I was 8), but I just like cats more. Honestly, I wouldn't mind having one of both.