The quality of life is conditioned by many factors. Personality traits are among the significant determinants of life satisfaction. Some researchers emphasize that the relationship between the personality traits of an individual and the subjective sense of happiness may even be stronger than the relationship between psychological well-being and objective living conditions [18, 19]. Ego- resiliency is among the human personality traits associated with the quality of life [20]. Whatsmore, it can also be treated as a key factor in creating and implementing strategies for coping with stressful situations. Park et al. emphasize that the appropriate development of ego-resiliency can be a mechanism that compensates for excessive emotional sensitivity of an individual [21]. The role of mental resilience is important at every stage of human development, fulfilling a special role in periods of increased stress. A study by Labrague et al. indicates the important role of ego-resiliency in adaptation mechanisms during the COVID-19 pandemic [22]. Similar conclusions were reached by Chen Du et al. [23] in a large, multi-center study, and Thompson et al., emphasizing the need to strengthen ego-resiliency [24]. In this study, ego-resiliency among medical students and students of the Academy of Physical Education was compared in a specific period of the COVID-19 pandemic. A statistically significant higher average score on the scale evaluating ego-resiliency was obtained in the group of students of the Academy of Physical Education in comparison to the students of medicine. Different results were obtained by Calo et al., who in their study obtained lower results of mental resilience in this study group. However, the study was conducted before the COVID-19 pandemic and included physiotherapy students only [25]. Similar conclusions were reached by Biro - in her study also physiotherapy students achieved worse results in terms of mental resilience, compared to the results achieved by students of the APhE in our study [26]. In her study of tourism students, Unguren showed a satisfactory level of ego-resiliency in this study group and pointed to its role as a protective factor against fear of the coming future [27]. Few comparative studies concerned medical students, but studies of individual groups were usually based on different scales, which makes comparison difficult. Another Polish study, although it did not compare a group of medical students with others, indicated a low level of ego-resiliency in this study group, pointing to a probable relationship with a high level of occupational burnout during the pandemic [28]. Research also shows that in the professional group of doctors, the level of occupational burnout reaches a high level, affecting people already during medical studies and appearing during professional work at various stages [29, 30]. Perhaps high workload at every stage of life with reduced involvement in pro-health activities, such as physical activity, in this professional group may hinder the development of ego-resiliency. In this study, in the assessment of life satisfaction, it was the medical students who achieved more points than the students of the APhE. Perhaps this was due to the fact that as people associated with healthcare units, they had greater opportunities to move freely during the pandemic, some classes were also held stationary, which gives better conditions for social functioning compared to people who held their classes mainly online. In addition, taking into account the fact that the group of people studying at the Academy of Physical Education is probably strongly predisposed to undertake physical activity, hence the periods of lockdown could be particularly severe for these people and could affect the assessment of life satisfaction. In another study conducted at the same university, on first-year medical students, the participation of such factors as good health, adequate financial resources, and greater physical activity was emphasized as important for the perceived good quality of life [31]. The vast majority of studies conducted during the COVID-19 pandemic on the quality of life emphasize its worse assessment during this period, but none compared these two groups of students, as in our study [32,33]. In the assessment of depressive symptoms, the groups did not differ statistically, while the average score on the anxiety scale was statistically higher for medical students. This fact can be explained by the greater exposure of medical students to potential sources of infection with the SARS-CoV-2 virus compared to students of the Academy of Physical Education. Medical students often actively participated in helping COVID-19 patients in hospitals. In addition to the risk of infection, they also experienced death in form and frequency they had not experienced before. Similar results were obtained in a large American study by Halperin et al., in which 30% of medical students had anxiety disorders and almost 25% were depressed during the pandemic period [34]. Also Eleftheriou et al. in their study showed a similar degree of severity of depressive and anxiety symptoms in this study group, additionally emphasizing the presence of significant sleep problems [35]. Moreover, in our study, by analyzing the relationship between the examined factors, which were estimated in both groups, positive correlations of ego-resiliency with life satisfaction and negative correlations with anxiety and depressive symptoms were obtained. A similar relationship was noted in their studies by both Seo et al. and Rospenda et al. [36,37]. Noreen came to interesting conclusions, emphasizing that the development of ego-resiliency should be especially promoted in the group of medical students in order to reduce the potential consequences associated with increased stress [38]. Similar conclusions were reached by Maheri in an Iranian study on a large population of students [39]. Summing up, it can be concluded that ego-resiliency can be a protective factor against symptoms of anxiety and depression and enhancing the quality of life. Some studies indicate that ego-resiliency as an internal human resource can be developed and modified throughout life [40,41]. Therefore, it would be beneficial to develop resilience from childhood, and especially during studies, when people usually already have a greater insight into the course of their mental processes. Particularly useful methods could be psychotherapeutic techniques that arouse motivation to work on oneself, awaken awareness of one's own emotions experienced in conflict situations, teach to treat failures as challenges and stimulate students to overcome difficulties and change their behavior in the face of surprising or difficult situations.
Work restrictions
The presented study, like any study in which results were collected using the Internet, has some limitations. First of all, the collection of data via the Internet form makes it impossible to control the course of completing the questionnaires. The limitation of the work is also the collection of research material in two units, without creating comparative groups from other teaching units, which needs to be supplemented as part of the continuation of research. Data from two centers limits the possibility of generalizing the results. Due to the length of the article, the study did not describe the significance of differences in the scope of the studied variables resulting in the study group from socio-demographic differences, although the authors are aware that they exist.