The long distance dogs, the ones with thick foot pads, big lungs, a ground eating gate, good balance, medium size that can run marathons day after day often come with drive that takes extra work to overcome when used for uses they are not bred for.
Pointers, fox and coonhounds, alaskan huskies are such. If they are to be off leash (think Mtn biking, back country skiing, off trail/mountaineering) you must be both knowable about the breed and training methods and very consistent in discipline to end up with a well mannered and safe backcountry partner. They can be do anything dogs, but it takes commitment in training.
If that isn’t your cup of tea, look for some type of shepherding dog that only wants to follow your lead.
One example to demonstrate comes to mind. We Mtn biked the flume trail on the west shore of Lake Tahoe with a coonhound and a blue healer. At about 20 miles the healer fell over from exhaustion, he hadn’t given any signs he was in distress, but his drive was to keep up with his master. His owner carried him that last 5 miles. (He was okay in the end). The Coonhound took every opportunity to rest in the shade at stops, chased every marmot it saw while it’s owners waited for it to come back, and at the end of the 25 miles ran away after a deer for another hour causing it owners worry. The coonhound could have probably run the whole thing again.