Lots of stray dogs around here in south of Spain. Also when I used to be a 12y old cycling in rural france that was pretty much the same, I was always prepared for a sprint whenever I would reach a farm.
In a sense it probably made me stronger but I can't say I build a friendship and a mutual sense of confidence with dogs.