I've watched a couple documentaries that discuss your question. I think they mention the aspect about how humans could become more agricultural.
https://m.imdb.com/title/tt10462930
https://www.pbs.org/wnet/nature/dogs-that-changed-the-world-...