Peer Attachment and Prosocial Behavior: The Mediating Role of Positive Legal Emotion and the Moderating Effect of Social Exclusion
Abstract
1. Introduction
1.1. Peer Attachment and Prosocial Behavior
1.2. The Mediating Role of Positive Legal Emotion
1.3. The Moderating Role of Social Exclusion
1.4. Current Study and Hypotheses
2. Method
2.1. Participants
2.2. Measures
2.2.1. Positive Legal Emotion Subscale of the College Students’ Legal Emotion Scale
2.2.2. Peer Attachment
2.2.3. Social Exclusion Experience
2.3. Procedure and Data Analysis
3. Results
3.1. Tests of Demographic Differences on Key Variables
3.2. Descriptive Statistics and Correlation Analysis for Key Variables
3.3. Moderated Mediation Analysis
4. Discussion
5. Conclusions, Limitations, and Future Directions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Armsden, G. C., & Greenberg, M. T. (1987). The inventory of parent and peer attachment: Individual differences and their relationship to psychological well-being in adolescence. Journal of Youth and Adolescence, 16(5), 427–454. [Google Scholar] [CrossRef]
- Asher, S. R., & Coie, J. D. (1990). Peer rejection in childhood. Cambridge University Press. [Google Scholar]
- Bai, Y., Maruskin, L. A., Chen, S., Gordon, A. M., Stellar, J. E., McNeil, G. D., Peng, K., & Keltner, D. (2017). Awe, the diminished self, and collective engagement: Universals and cultural variations in the small self. Journal of Personality and Social Psychology, 113(2), 185–209. [Google Scholar] [CrossRef]
- Baumeister, R. F., & Leary, M. R. (1995). The need to belong: Desire for interpersonal attachments as a fundamental human motivation. Psychological Bulletin, 117(3), 497–529. [Google Scholar] [CrossRef] [PubMed]
- Baumeister, R. F., Twenge, J. M., & Nuss, C. K. (2002). Effects of social exclusion on cognitive processes: Anticipated aloneness reduces intelligent thought. Journal of Personality and Social Psychology, 83(4), 817–827. [Google Scholar] [CrossRef] [PubMed]
- Bernstein, M. J., Neubauer, A. B., Benfield, J. A., Potter, L., & Smyth, J. M. (2021). Within-person effects of inclusion and exclusion on well-being in daily life. Personal Relationships, 28(4), 940–960. [Google Scholar] [CrossRef]
- Bowlby, J. (1969). Attachment and loss (Vol. 1). Basic Books. [Google Scholar]
- Bowlby, J. (1980). Attachment and loss (Vol. 3). Basic Books. [Google Scholar]
- Cassidy, J., & Shaver, P. R. (Eds.). (2008). Handbook of attachment: Theory, research, and clinical applications (2nd ed.). Guilford Press. [Google Scholar]
- Cuadrado, E., Tabernero, C., & Steinel, W. (2016). Prosocial behaviour, inclusion and exclusion: Why and when do we behave prosocially. Revista De Psicología Social, 31(3), 463–499. [Google Scholar] [CrossRef]
- DeWall, C. N., & Bushman, B. J. (2011). Social acceptance and rejection: The sweet and the bitter. Current Directions in Psychological Science, 20(4), 256–260. [Google Scholar] [CrossRef]
- Dias-Broens, A. S., Meeuwisse, M., & Severiens, S. E. (2024). The definition and measurement of sense of belonging in higher education: A systematic literature review with a special focus on students’ ethnicity and generation status in higher education. Educational Research Review, 45, 100622. [Google Scholar] [CrossRef]
- Du, J. Z., & Xia, B. L. (2008). The psychological view on social exclusion. Advances in Psychological Science, 16(6), 981–986. [Google Scholar]
- Eisenberg, N., Cumberland, A., & Spinrad, T. L. (1998). Parental socialization of emotion. Psychological Inquiry, 9(4), 241–273. [Google Scholar] [CrossRef]
- Fraley, R. C., & Shaver, P. R. (2000). Adult romantic attachment: Theoretical developments, emerging controversies, and unanswered questions. Review of General Psychology, 4(2), 132–154. [Google Scholar] [CrossRef]
- Fu, X. (2016). Emotion psychology. East China Normal University Press. [Google Scholar]
- Fu, Y. N., Feng, R. D., Liu, Q., He, Y. M., Turel, O., Zhang, S. Y., & He, Q. H. (2022). Awe and prosocial behavior: The mediating role of presence of meaning in life and the moderating role of perceived social support. International Journal of Environmental Research and Public Health, 19(11), 6466. [Google Scholar] [CrossRef]
- Gamble, W. C., Yu, J. J., & Kuehn, E. D. (2011). Adolescent sibling relationship quality and adjustment: Sibling trustworthiness and modeling, as factors directly and indirectly influencing these associations. Social Development, 20(3), 605–623. [Google Scholar] [CrossRef]
- Gest, S. D., Graham-Bermann, S. A., & Hartup, W. W. (2001). Peer experience: Common and unique features of number of friendships, social network centrality, and sociometric status. Social Development, 10(1), 23–40. [Google Scholar] [CrossRef]
- Gilman, R., Carter-Sowell, A., DeWall, C. N., Adams, R. E., & Carboni, I. (2013). Validation of the ostracism experience scale for adolescents. Psychological Assessment, 25(2), 319–330. [Google Scholar] [CrossRef]
- Gopalan, M., & Brady, S. T. (2020). College students’ sense of belonging: A national perspective. Educational Researcher, 49(2), 134–137. [Google Scholar] [CrossRef] [PubMed]
- Groh, A. M., Fearon, R. P., Bakermans-Kranenburg, M. J., van Ijzendoorn, M. H., Steele, R. D., & Roisman, G. I. (2014). The significance of attachment security for children’s social competence with peers: A meta-analytic study. Attachment & Human Development, 16(2), 103–136. [Google Scholar]
- Guan, F., Chen, J., Chen, O., Liu, L., & Zha, Y. (2019). Awe and prosocial tendency. Current Psychology, 38(4), 1033–1041. [Google Scholar] [CrossRef]
- Hou, C., Li, S., Shi, H., & Liu, Z. (2024). The influence of social exclusion on prosocial behavior of college students: The role of relational need threat and regulatory focus. Frontiers in Psychology, 15, 1384279. [Google Scholar] [CrossRef]
- Laible, D. J., Carlo, G., & Raffaelli, M. (2000). The differential relations of parent and peer attachment to adolescent adjustment. Journal of Youth and Adolescence, 29(1), 45–59. [Google Scholar] [CrossRef]
- Malti, T., & Dys, S. P. (2018). From being nice to being kind: Development of prosocial behaviors. Current Opinion in Psychology, 20, 45–49. [Google Scholar] [CrossRef] [PubMed]
- Maner, J. K., DeWall, C. N., Baumeister, R. F., & Schaller, M. (2007). Does social exclusion motivate interpersonal reconnection? Resolving the “porcupine problem”. Journal of Personality and Social Psychology, 92(1), 42–55. [Google Scholar] [CrossRef]
- McLean, K., Wolfe, S. E., & Pratt, T. C. (2019). Legitimacy and the life course: An age-graded examination of changes in legitimacy attitudes over time. Journal of Research in Crime and Delinquency, 56(1), 42–83. [Google Scholar] [CrossRef]
- Mikulincer, M., & Shaver, P. R. (2019). Attachment orientations and emotion regulation. Current Opinion in Psychology, 25, 6–10. [Google Scholar] [CrossRef]
- Morris, A. S., Silk, J. S., Steinberg, L., Myers, S. S., & Robinson, L. R. (2007). The role of the family context in the development of emotion regulation. Social Development, 16(2), 361–388. [Google Scholar] [CrossRef] [PubMed]
- Mota, C. P., & Matos, P. M. (2013). Peer attachment, coping, and self-esteem in institutionalized adolescents: The mediating role of social skills. European Journal of Psychology of Education, 28, 87–100. [Google Scholar] [CrossRef]
- Oesch, N. (2024). Social brain perspectives on the social and evolutionary neuroscience of human language. Brain Sciences, 14(2), 166. [Google Scholar] [CrossRef]
- Parker, J. G., Rubin, K. H., Erath, S. A., Wojslawowicz, J. C., & Buskirk, A. A. (2015). Peer relationships, child development, and adjustment: A developmental psychopathology perspective. In Developmental psychopathology (2nd ed., Vol. 1, pp. 419–493). Wiley. [Google Scholar]
- Peng, X., Dou, K., Liang, Y., Fang, H., & Nie, Y. (2021). Adolescent peer attachment and externalizing problem behavior: The chain mediating effect of self-esteem and emotion regulation self-efficacy. China Journal of Health Psychology, 29(01), 118–123. [Google Scholar]
- Piff, P. K., Dietze, P., Feinberg, M., Stancato, D. M., & Keltner, D. (2015). Awe, the small self, and prosocial behavior. Journal of Personality and Social Psychology, 108(6), 883–899. [Google Scholar] [CrossRef]
- Rajchert, J. (2015). Emotional, cognitive and self-enhancement processes in aggressive behavior after interpersonal rejection and exclusion. Europe’s Journal of Psychology, 11(4), 707–721. [Google Scholar] [CrossRef]
- Richman, L. S., & Leary, M. R. (2009). Reactions to discrimination, stigmatization, ostracism, and other forms of interpersonal rejection: A multimotive model. Psychological Review, 116(2), 365–383. [Google Scholar] [CrossRef] [PubMed]
- Rubin, K. H., Bukowski, W. M., & Bowker, J. C. (2015). Children in peer groups. In Handbook of child psychology and developmental science (Vol. 4, pp. 175–222). Wiley. [Google Scholar]
- Song, Q., Vicman, J. M., & Doan, S. N. (2022). Changes in attachment to parents and peers and relations with mental health during the COVID-19 pandemic. Emerging Adulthood, 10(4), 1048–1060. [Google Scholar] [CrossRef] [PubMed]
- Stellar, J. E., Gordon, A. M., Piff, P. K., Cordaro, D., Anderson, C. L., Bai, Y., Maruskin, L. A., & Keltner, D. (2017). Self-transcendent emotions and their social functions: Compassion, gratitude, and awe bind us to others through prosociality. Emotion Review, 9(3), 200–207. [Google Scholar] [CrossRef]
- Takhsha, M., Barahimi, N., Adelpanah, A., & Salehzadeh, R. (2020). The effect of workplace ostracism on knowledge sharing: The mediating role of organization-based self-esteem and organizational silence. The Journal of Workplace Learning, 32(6), 417–435. [Google Scholar] [CrossRef]
- Tambelli, R., Laghi, F., Odorisio, F., & Notari, V. (2012). Attachment relationships and internalizing and externalizing problems among Italian adolescents. Children and Youth Services Review, 34(8), 1465–1471. [Google Scholar] [CrossRef]
- Twenge, J. M., Baumeister, R. F., DeWall, C. N., Ciarocco, N. J., & Bartels, J. M. (2007). Social exclusion decreases prosocial behavior. Journal of Personality and Social Psychology, 92(1), 56–66. [Google Scholar] [CrossRef]
- Williams, K. D. (2007). Ostracism. Annual Review of Psychology, 58, 425–452. [Google Scholar] [CrossRef]
- Williams, K. D., Cheung, C. K. T., & Choi, W. (2000). Cyberostracism: Effects of being ignored over the internet. Journal of Personality and Social Psychology, 79(5), 748–762. [Google Scholar] [CrossRef]
- Xu, S. (2026). The three-dimensional dynamic model of legal socialization: A cross-cultural theoretical integration of Chinese and Western research. Legal and Criminological Psychology. early view. [CrossRef]
- Xu, S., Fan, L., & Su, C. (2022). Effect of peer attachment on legal emotion among junior middle school students: The mediation role of self-esteem. Frontiers in Psychology, 13, 923604. [Google Scholar] [CrossRef]
- Xu, S., Yu, J., Fan, L., Yang, Q., Wang, Z., & Zhang, Y. (2024). The influencing factors of college students’ legal emotion and the mechanism of its effect on aggressive behavior. Frontiers in Psychology, 15, 1295915. [Google Scholar] [CrossRef] [PubMed]
- Zhang, Y., Yang, X., Liu, D., & Wang, Z. (2020). Chinese college students’ parental attachment, peer attachment, and prosocial behaviors: The moderating role of respiratory sinus arrhythmia. Biological Psychology, 150, 107844. [Google Scholar] [CrossRef] [PubMed]
| Variables | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| 1. Positive Legal Emotion | 1 | |||
| 2. Social Exclusion | −0.47 *** | 1 | ||
| 3. Prosocial Behavior | 0.55 *** | −0.44 *** | 1 | |
| 4. Peer Attachment | 0.65 *** | −0.57 *** | 0.67 *** | 1 |
| M ± SD | 4.47 ± 0.62 | 20.18 ± 9.93 | 105.78 ± 18.12 | 55.86 ± 14.34 |
| Variables | Model 1 (Mediating Variable: PLE) | Model 2 (Dependent Variable: PB) | ||||
|---|---|---|---|---|---|---|
| β | SE | t | β | SE | t | |
| Constant | 1.127 | 0.665 | 1.695 | −1.814 | 0.655 | −2.769 ** |
| PA (X) | 0.552 | 0.047 | 11.805 *** | 0.530 | 0.049 | 10.803 *** |
| PLE | 0.209 | 0.049 | 4.303 *** | |||
| SE (W) | −0.108 | 0.047 | −2.310 * | |||
| X × W | 0.136 | 0.039 | 3.500 *** | |||
| Gender | 0.038 | 0.076 | 0.494 | 0.061 | 0.075 | 0.808 |
| FEL | −0.127 | 0.062 | −2.069 * | 0.051 | 0.061 | 0.846 |
| MEL | 0.059 | 0.059 | 1.001 | −0.031 | 0.058 | −0.530 |
| R2 | 0.465 | 0.477 | ||||
| F | 38.073 *** | 44.961 *** | ||||
| Social Exclusion | Effect Size | BootSE | Boot 95% CI Lower | Boot 95% CI Upper |
|---|---|---|---|---|
| Low (−1 SD) | 0.087 | 0.029 | 0.152 | 0.039 |
| Medium (Mean) | 0.115 | 0.036 | 0.194 | 0.052 |
| High (+1 SD) | 0.144 | 0.047 | 0.248 | 0.063 |
| Incremental Change | 0.028 | 0.015 | 0.064 | 0.005 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Sun, W.; Xu, S. Peer Attachment and Prosocial Behavior: The Mediating Role of Positive Legal Emotion and the Moderating Effect of Social Exclusion. Behav. Sci. 2026, 16, 494. https://doi.org/10.3390/bs16040494
Sun W, Xu S. Peer Attachment and Prosocial Behavior: The Mediating Role of Positive Legal Emotion and the Moderating Effect of Social Exclusion. Behavioral Sciences. 2026; 16(4):494. https://doi.org/10.3390/bs16040494
Chicago/Turabian StyleSun, Weiwei, and Shuhui Xu. 2026. "Peer Attachment and Prosocial Behavior: The Mediating Role of Positive Legal Emotion and the Moderating Effect of Social Exclusion" Behavioral Sciences 16, no. 4: 494. https://doi.org/10.3390/bs16040494
APA StyleSun, W., & Xu, S. (2026). Peer Attachment and Prosocial Behavior: The Mediating Role of Positive Legal Emotion and the Moderating Effect of Social Exclusion. Behavioral Sciences, 16(4), 494. https://doi.org/10.3390/bs16040494

