Some breeds are quite content with their little piece of turf and see no reason to leave it. Others like to roam, for instance Huskies are notorious for taking off and going long distances when they’re on the lam, they make practically a beeline, like they’re in the Iditarod or something, lol. But, then again, breed behavior was selectively bred into them, so they would show a preference for that sort of behavior.
My Beagle Buddy showed up in my yard 10 years ago with a bad leg and a happy face. He is sitting with me now waiting for the walk and the treat. My faithful and constant companion. My best friend.