I think that is an old understanding.
"Small- and medium-scale collective violence, in the form of confrontations between neighboring groups, may be as old as humankind [e.g.,1, 2]. By contrast, larger-scale organized and sanctioned lethal violence between sociopolitical groups (i.e., warfare), seems to be associated with certain socio-economic conditions that generally accompanied the shift to a farming economy,3 such as higher population densities and greater degrees of sedentism4, 5, in parallel to the increasing importance of resource ownership and property that led to the concentration of resources and power [e.g.,6, 7]."
[1]https://www.nature.com/articles/s41598-023-43026-9
The references above:
1. Fry, D. P. Cooperation for survival: Creating a global peace system. In War, Peace and Human Nature: The Convergence of Evolutionary and Cultural Views (ed. Fry, D. P.) 543–558 (Oxford University Press, 2013).
2. Kim, N. C. & Kissel, M. Emergent Warfare in Our Evolutionary Past (Routledge, 2018).
3. Fibiger, L., Ahlström, T., Meyer, C. & Smith, M. Conflict, violence and warfare among early farmers in Northwestern Europe. PNAS 120(4), e2209481119 (2023).
4. Ferguson, R. B. Archaeology, cultural anthropology, and the origins and intensifications of war. In The Archaeology of Warfare: Prehistories of Raiding and Conquest (eds Arkush, E. & Allen, M.) 469–523 (University Press of Florida, 2006).
5. Fry, D. P. & Soderberg, P. Lethal aggression in mobile forager bands and implications for the origins of war. Science 341, 270–273 (2013).
6. Golitko, M. LBK Realpolitik: An Archaeometric Study of Conflict and Social Structure in the Belgian Early Neolithic (Archaeo Press, 2015).
7. Bogaard, A., Fochesato, M. & Bowles, S. The farming-inequality nexus: New insights from ancient Western Eurasia. Antiquity 93(371), 1129–1143 (2019).
8. Chenal, F., Perrin, B., Barrand-Emam, H. & Boulestin, B. A farewell to arms: a deposit of human limbs and bodies at Bergheim, France, c. 4000 BC. Antiquity 89, 1313–1330 (2015).