{'fraction_non_alphanumeric': 0.04153167330062637, 'fraction_numerical': 0.02169150544601808, 'mean_word_length': 5.057943925233645, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Low Resilience Was a Risk Factor of Mental Health Problems during the COVID-19 Pandemic but Not in Individuals Exposed to COVID-19: A Cohort Study in Spanish Adult General Population

Background: The aim is to analyze whether people with low resilience are at higher risk of mental health problems during the COVID-19 pandemic in Spanish adults. Methods: a longitudinal cohort study was carried out. Resilience was measured with the CD-RISC. Mental health problems that were assessed included: Major Depressive Episode (MDE), Generalized Anxiety Disorder (GAD), Suicidal Thoughts and Behaviors (STB), and Posttraumatic Stress Disorder (PTSD) symptoms. Results: we found statistically significant differences between groups and resilience scores in MDE [F (3; 48.40) = 19.55], GAD [F (3; 19.63) = 6.45] and STB [F (3; 111.74) = 31.94]. Multivariable analyses showed individuals with very low resilience were at a 5-fold risk of Incidence of MDE and a 4-fold risk of STB. Persistent group presented a 21-fold risk of MDE and 54-fold risk of STB. No evidence of higher risk was found for GAD. Individuals with low resilience and exposed to COVID-19 were not at higher risk. Individuals with low resilience were at higher risk of PTSD in general population [β(95% CI) = −3.25 (−3.969 to −2.54)], but not for individuals with COVID-19. Conclusions: in the general population, having low or very low resilience increases the risk of suffering MDE, STB, and PTSD, but not GAD during the COVID-19 pandemic, and not in the population with COVID-19.


Introduction
On 31 December 2019, the first case of the Coronavirus pandemic disease appeared (COVID-19) [1]. Most countries imposed a lockdown to prevent the spread and control the disease, such as Spain. The lockdown stipulated severe restrictions on social contact, working from home when possible, and significantly reduced access to services.
However, the COVID-19 pandemic had a psychological impact in the population. According to a meta-analysis, the prevalence of anxiety or depression was 30% [2], and in some countries doubled [3]. In Denmark [4] and the United Kingdom [5], results from a population-based cohort study showed worsening mental health.
A cohort study carried out in the Spanish population showed that the prevalence of depression and suicidal ideation did not increase significantly in the spring and summer of 2020 [6]. However, it increased in Major Depressive Episode (MDE) (T0, 6.5% vs. T1, 8.8%) and Generalized Anxiety Disorder (GAD) (T0, 13.7% vs. T1, 17.7%) in the autumn of 2020 [7].
Mental health problems have also increased in the population affected by COVID-19. Two studies identified in a systematic review found that 96.2% of patients diagnosed by COVID-19 suffered posttraumatic stress disorder (PTSD) and 29.2% depressive symptoms [8]. Accordingly, another meta-analysis described that the most common symptoms among patients with SARS or MERS-CoV admitted to hospital were: depressed mood (6%) and anxiety (7%), and that in the post-illness stage, PTSD (32.2%), depression (14.9%), and anxiety (4.8%) [9]. Despite the psychological impact of the COVID-19 pandemic, some individuals did not develop psychological distress to be defined as resilient [10].
Resilience is defined as a psychological trait that enables the right coping with adversity [11]. This resilient trait has often been used to explain mental illness [12], hypothesizing that a resilient person can stay psychologically healthy even when exposed to harsh conditions in adverse environments. Resilience is a multidimensional trait comprising several domains, such as hardiness [13], positive emotionality [14], extraversion [15], self-efficacy [13], spirituality [16], self-esteem [17], and positive affect [12,18].
A review about the concept of resilience and mental health [11] concluded that resilience relates to rapid and effective recovery after stress [19]. Thus, it is considered an "immunological barrier" that allows a certain degree of health [20]. On the other hand, some authors associate the concept of resilience with promoting mental health [21]. Some of them even highlighted the importance of understanding resilience for developing interventions to prevent or treat mental disorders, particularly anxiety, depression, and stress [22].
Resilience and the resilient process in the population have been described in the literature, especially when dealing with traumatic events from natural disasters, such as the Haiti Earthquake in 2010 [23], in tsunami survivors [24], the Terrorist Attacks in 11 September 2001 in the United States [25]; or in the context of war [26].
From the COVID-19 pandemic, some research focused on the role of resilience and protective factors against stress and adverse outcomes derived from it, in the general population [27], psychiatric patients [28], or healthcare workers [29], among others. These studies showed that resilience is a protective factor for mental health; however, those studies used retrospective designs, such as cross-sectional data answered by participants or case-control studies. Thus, it is necessary to assess the role of resilience in the context of the COVID-19 pandemic for preventing and recovering from a mental health problem and designing effective mental health interventions based on promoting resilience.

Aims of the Study
The objective was to analyze whether people with low or very low resilience were at higher risk of mental health problems [MDE, GAD, suicidal thoughts, and behaviours (STB)] during the COVID-19 pandemic in the Spanish adult population and in people exposed to COVID-19 (diagnosed by COVID-19 or with related symptoms but no test undergone). To do so, the studied population was classified in four groups, depending on having or not mental health problems and their onset: (a) Healthy group (participants with no mental health problem assessed before and during the COVID-19 pandemic); (b) Recovery group (participants who recovered from any mental health problem appeared before COVID-19 pandemic); (c) Incident group (participants with a new-onset of any mental health problem during COVID-19 pandemic); and (d) Persistent group (participants with any mental health problem before and during COVID-19 pandemic). Finally, we assessed the association between resilience and PTSD symptoms in both populations during the COVID-19 pandemic.

Study Design
A longitudinal population-based cohort study representative of the adult Spanish population in terms of geographical areas, sex, age, and socioeconomic characteristics was done. Two assessments were conducted using an online survey. The baseline reference survey (T0) was acquired as part of the BIOVAL-D study (ISCII-FEDER Exp: PI16/00165) during October/November 2019 and assessed mental health before the COVID-19 outbreak. The follow-up survey (T1) was conducted after 12 months (November/December 2020) using the same questionnaire and adding extra dimensions and variables to identify resilient factors associated with mental health problems and suicide risk after the COVID-19 outbreak and lockdown. The survey had an approximate duration of 30 min.

Participants
For baseline assessment (T0), participants were recruited from an online secure panel data vendor, including a final sample of 2005 individuals. The panel did not exclude any household and its members from the possibility of being recruited. Participants were randomly selected from an extensive list of mobile and landline phones as well as personal interviews, ensuring the panel's representativeness. Participants received an informative email on the study objectives and characteristics, including a link to the informed consent, which will act as a filter for entering the survey. Participation was encouraged through an incentives system based on accumulative points and exchange. Points could be exchanged for physical and digital gifts or donations to NGOs. All participants who answered 100% of the survey accumulated the same number of points. Baseline participants were offered participation in the follow-up and were included upon signing informed consent. For the follow-up survey, all participants were recontacted by the panel provider and invited to participate also by email.
From the initial 2005 individuals, 941 participants answered the follow-up survey, with a participation rate of 46.9%. An additional 416 subsamples, matched by sex, geographical residence, and age, were invited to participate to ensure population representativeness. The final sample summed a total of 1357 participants for 12-months analysis.

Resilience (T1)
We administrated the 10-items Connor-Davidson Resilience Scale (CD-RISC) [30], from the 25-items CD-RISC [11]. The CD-RISC is a self-administered questionnaire composed of 10 Likert-type items with five response options (0 = not true at all, 1 = rarely true, 2 = sometimes true, 3 = often true, and 4 = true nearly all of the time) [11]. The scale measures stress coping ability for use in clinical samples. The range of values of the itemtotal scale score correlation was 0.45 to 0.69, and Cronbach's alpha was 0.85 [30]. The highest scores indicated the highest level of resilience [11]. MDE diagnosis was based on the MDE screening section (8-items) of the Composite International Diagnostic Interview (CIDI) version 3.0 [31]. This section worked as a filter to enter the diagnostic section, which includes 37 symptoms divided into eight sections (depression and anhedonia, 6-items; weight, 5-items; insomnia, 5-items; retardation and agitation, 4-items; fatigue, 2-items; worthlessness and guilt, 5-items; concentration, 4-items; suicide, 6-items) that evaluate the presence or absence of MDE symptoms for at least two weeks during the past 12 months. Individuals with five active criteria must meet a disability over 50 points in the WHODAS score to establish the diagnostic [32]. The area under the curve was 0.75 [33]. The CIDI has been translated into many languages, including Spanish [31].

Suicidal Thoughts and Behaviours (STB) (T0 & T1)
Any STB was assessed for ideation, plan or attempt with a single item for each symptom from the CIDI questionnaire [35]. Suicidal ideation is classified as passive and active ideation, and suicidal and suicide attempt. Response items were Yes/No. MDE, GAD, and STB categorized as (a) Healthy (negative in T0 and T1); (b) Incidence (negative in T0 but positive in T1); (c) Persistence (positive T0 and and T1) and (d) Recovery (positive in T0 and negative in T1) groups.

Post-Traumatic Stress Disorder (PTSD) Symptoms (T1)
To assess DSM-5 symptoms of PTSD related to the experience of being infected with COVID-19 or the death of somebody close due to COVID-19, an adapted Spanish version of the PTSD Checklist for DSM-5 (PCL-5) was used (20 items) [36].
The PCL-5 was adapted ad hoc in the context of being exposed to the COVID-19 pandemic (e.g., . . . avoid memories, thoughts, or feelings related to being infected or someone has died from COVID-19).
The PCL-5 was administered to participants who underwent a COVID-19 diagnostic test, all those who knew a person who died from COVID-19, and a randomized selection of 20% of the rest of the sample [7].

COVID-19 Exposures (T1)
Items about COVID-19 exposure were developed ad hoc for this study [37]. Data about having been tested for or diagnosed with COVID-19 were gathered, including related symptoms. We considered four groups of COVID-19 clinical status: (a) Group 1, individuals with no COVID-19 test done and no COVID-19 symptoms; (b) Group 2, those with COVID-19 symptoms but no test done; (c) Group 3, those with a negative COVID-19 test result; and (d) Group 4, those with a positive COVID-19 test result.

Demographic Variables
Age, gender, employment status, and marital status were assessed. These variables were considered potential confounders.

Data Analysis
According to Considering CD-RISC Manual [38], we considered four categories of resilience using quartiles (Q 1 = very low resilience; Q 2 = low resilience; Q 3 = high resilience; Q 4 = very high resilience).
Descriptive statistics for continuous variables were means and standard deviations and absolute frequencies and percentages for categorical variables.
To test for differences between groups (Healthy; Recovery; Incidence and Persistence) in mental health problems (MDE, GAD, and STB) and resilience scores (continuous), we used an analysis of variance (ANOVA). Homogeneity of variance was met according to Levene's test. Post-hoc analyses were conducted with Tukey's test, using Cohen's d to measure affect size.
We estimated the bivariate and adjusted associations among resilience categories and other variables using crude (OR) and adjusted Odds Ratios (AOR). We estimated resilience association with the 12-month presence of MDE, GAD, and STB in the total sample and in the subgroup of COVID-19 exposed participants (COVID-19 test positives or with COVID-19 compatible symptoms). Logistic regression adjusted ORs controlling for potential confounder variables: age, gender, employment status, and marital status.
Subgroup analysis among the COVID-19 exposed group was done, collapsing confounder categories due to the low number of individuals in each group.
Finally, the association between resilience and PTSD symptoms was estimated with non-parametric tests, as homogeneity hypotheses did not hold (p < 0.05). Spearman's correlations were used with continuous resilience scores and the Kruskal-Wallis test when resilience was treated as categorical. Non-parametric tests were used. Bivariate and multivariable linear regression models (adjusted by age, gender, employment status, and marital status) were used for assessing the relationship between PTSD and resilience in the total sample and individuals exposed to COVID-19.
All analyses used complex sample design weights. Due to non-random losses to followup, selection bias was corrected using inverse probability-of-censoring post-stratification weights [39].
All statistical tests were conducted with R package ipw [40] and SPSS v20.0 with a nominal significance level of 5%.

Ethics and Dissemination
The Ethical Committee approved the study of the International University of Catalonia Before entering the study, participants read and signed informed consent. Data were gathered in an entirely anonymous approach, with no possibility to match the data with the participant's identity.
Resilience total score differences between the Incidence, Persistence, Recovery and Healthy groups in MDE, GAD and STB are reported in With respect to the healthy group, post-hoc analyses showed statistically significant differences with all three groups in MDE (Incidence, Persistence, Recovery) (p < 0.001). In GAD and STB, statistically significant differences were found between Healthy group and Persistence (GAD and STB, p < 0.001) and Recovery (GAD, p = 0.001; STB, 0.035) groups, but not with Incidence group in GAD (p = 0.380) and STB (p = 0.133). Comparing groups for each mental health problem, the Healthy group had the highest score of resilience and Persistence group the lowest regarding MDE (Healthy, mean = 25.03, SD = 6.98; Incidence, mean = 20.   Table 2 shows crude and adjusted OR values between resilience and a disorder in the incidence, persistence, and recovery groups. In the general population, logistic regression results show that very low resilience (Q 1 ) increased the risk of suffering MDE and STB in all three groups compared with those with very high resilience (Q 4 ), both in crude and adjusted analyses. Conversely, this was not the case for GAD, where participants with low resilience (Q 2 ) also increase the risk of suffering MDE and STB, in the Persistence and Recovery group for STB and Incidence group for MDE. There was a statistically significant higher risk of MDE in individuals with very low resilience (Q 1 ) comparing the Healthy group with the Incidence group: bivariate, OR 5. 16  Resilience total score differences between four groups (Incidence, Persistence, Recovery, and Healthy), defined by MDE, GAD, and STB scores. Differences statistically significant (p < 0.001) between groups (No; Recovery; Incidence; Persistence) and resilience total score for all disorders.
With respect to the healthy group, post-hoc analyses showed statistically significant differences with all three groups in MDE (Incidence, Persistence, Recovery) (p < 0.001). In GAD and STB, statistically significant differences were found between Healthy group and Persistence (GAD and STB, p < 0.001) and Recovery (GAD, p = 0.001; STB, 0.035) groups, but not with Incidence group in GAD (p = 0.380) and STB (p = 0.133). Comparing groups for each mental health problem, the Healthy group had the highest score of resilience and  Table 2 shows crude and adjusted OR values between resilience and a disorder in the incidence, persistence, and recovery groups. In the general population, logistic regression results show that very low resilience (Q1) increased the risk of suffering MDE and STB in all three groups compared with those with very high resilience (Q4), both in crude and adjusted analyses. Conversely, this was not the case for GAD, where participants with low resilience (Q2) also increase the risk of suffering MDE and STB, in the Persistence and Recovery group for STB and Incidence group for MDE. There was a statistically significant higher risk of MDE in individuals with very low resilience (Q1) comparing the Healthy group with the Incidence group: bivariate, OR 5. 16  Resilience total score differences between four groups (Incidence, Persistence, Recovery, and Healthy), defined by MDE, GAD, and STB scores. Differences statistically significant (p < 0.001) between groups (No; Recovery; Incidence; Persistence) and resilience total score for all disorders.
Additionally, the association between resilience and MDE in individuals with low resilience (Q 2 ) was statistically significant for Incident group ( and low resilience (Q 2 ), the association between resilience and GAD was only statistically significant for the Recovery group in the bivariate model. The OR values were: (Q 1 ) OR 0.14; 95% CI 0.03-0.79 and (Q 2 ) OR 0.14; 95% CI 0.02-0.86. Multivariable analyses for Recovery and Persistence groups and bivariate analysis for Persistence groups could not be estimated for GAD. Table 3 shows crude and adjusted ORs from bivariate and multivariable models in the COVID-19 exposed population. No significant associations (p ≥ 0.05) were found for GAD and STB when comparing Healthy or Recovery groups with Incidence or Persistence groups when adjusted by age, gender, employment status, and marital status. As for MDE, a statistically significant adjusted association (p = 0.046) was found in individuals with low resilience.

Suicidal Thoughts and Behaviors
Very High (ref) n.a. n.a n.a n.a n.a n. Finally, results show a statistically significant correlation between PTSD symptoms and resilience scores (continuous) (rho= −0.301; p < 0.001), as well as group differences between PTSD symptoms and resilience using quartiles (categorical) in the general population (p < 0.001). When we analyzed among those individuals exposed to COVID-19, we found a statistically significant Spearman correlation (rho= −0.257; p = 0.027) but not when resilience was categorical (p = 0.116) (see Figure 2). Bivariate linear regression using resilience showed a statistically significant association [β(95% CI) = −3. population (p < 0.001). When we analyzed among those individuals exposed to COVID-19, we found a statistically significant Spearman correlation (rho= −0.257; p = 0.027) but not when resilience was categorical (p = 0.116) (see Figure 2). Bivariate linear regression using resilience showed a statistically significant association [β(95% CI) =  Differences of PTSD symptoms in the total sample and individuals exposed to COVID-19. Weighted medians and standard errors (estimated through a Bootstrap procedure with 5000 replications) of PTSD scores for all resilience percentile groups.

Main Results
The present study investigates whether people with lower resilience implied a higher risk of suffering mental health problems during the COVID-19 pandemic in the Spanish Figure 2. Differences of PTSD symptoms in the total sample and individuals exposed to COVID-19. Weighted medians and standard errors (estimated through a Bootstrap procedure with 5000 replications) of PTSD scores for all resilience percentile groups.

Main Results
The present study investigates whether people with lower resilience implied a higher risk of suffering mental health problems during the COVID-19 pandemic in the Spanish adult population. Four groups were analyzed depending on whether or not they had any of the mental health problems evaluated before or during COVID-19 pandemic: (a) Healthy group (participants with no mental health problem in both assessments); (b) Recovery group (participants who recovered during from any mental health problem at baseline); (c) Incident group (participants with a new-onset of any mental health problem at follow-up); and (d) Persistent group (participants with any mental health problem in both assessments).
As expected, individuals with very low and low resilience showed a higher risk of having any mental health problem than those with high resilience during the COVID-19. This effect was found for Major Depressive Episode (MDE) and suicidal thoughts and behaviors (STB) independent of age, gender, employment status, and marital status. Results showed a gradual increase in the risk of suffering MDE or STB depending on the degree of resilience. Our results also showed higher resilience in the Healthy and Recovery groups, except for MDE, where the Recovery group had a similar risk to the Incident group. Incident and Persistent groups, which were active cases of mental health problems during the pandemic, showed lower resilience. The highest risk was found for the Persistence group, with a 21-fold risk of MDE and 54-fold risk of STB, respectively. However, the GAD group with the highest resilience was the Recovery group. When we analyzed resilience in the COVID-19 exposed subgroup, there was no association with any mental health problem analyzed. The PTSD symptoms and resilience are associated in the general population but not in individuals exposed to COVID-19.

Comparison with Other Studies
In the total population, having very low resilience increases the risk of MDE or STB. These results are consistent with the literature in risk contexts [41][42][43]. Resilience has been related to psychological well-being in multiple studies [11,18], especially with decreased depressive and anxious symptoms [41]. Killgore et al. [42] found that fewer resilience levels during the COVID-19 pandemic were associated with more severe mental health problems in the general population.
Individuals with very low resilience were at a 5-fold greater risk of a new-onset of an MDE and 4-fold risk of STB than those with high resilience. This result makes us consider the Incident group the most specifically affected by the pandemic. However, the Persistence group, who had a mental health problem before the pandemic, were especially at-risk with a 21-fold risk of an MDE and 54-fold risk of STB, respectively.
Against what we expected, we did not find a statistically increased risk of suffering GAD in the low resilience groups. However, the low number of individuals in each group may be related to low power to detect the relationships in multivariable regressions. Also, we have only measured resilience from an individual perspective. Other environmental factors such as family or peer support, which are protective from anxiety [27,43], have not been considered.
The study results by Havnen et al. [27] showed that resilience moderates the relationship between stress (suffered by the COVID-19 pandemic) and anxiety symptoms. Resilience was assessed with the questionnaire Resilience Scale for Adults (RSA), which includes not only individual factors, but also family and social ones [44].
A study in the Italian population [10] found specific factors that hindered resilience during the COVID-19 pandemic, such as anxiety and PTSD symptoms related to COVID-19. However, beyond infection itself, isolation periods with interruption of usual routines and diminished social contacts, such as the lockdown or loss of employment, are known significant stressors. Another previous study showed uncertainty, loneliness, living with children, higher education, and living in regions where the virus was beginning to spread [10]. These results suggest that the implication of resilience in buffering the psychological impact can be established in the general population affected by the stressors of COVID-19.
Our results complement other studies in which different factors have been identified to influence the psychological response to the pandemic. A review of the literature conducted by Gilan et al. [45] revealed an increase in stress in the general population with manifestations of depression, anxiety, PTSD, and sleep disturbance. The risk factors identified were patient contact, female sex, impaired health status, worry about family members and significant others, and sleep quality. Contrarily, being informed about the number of individuals who have recovered from COVID, social support and perceived infectious risk were identified as resilient factors [45]. Another study revealed that older age and employed status contributed to decreased symptoms of anxiety [27].

COVID-19 Subgroup
Unexpectedly, individuals with low or very low resilience, and who were exposed to COVID-19 (tested positive or have shown COVID-19-related symptoms), were not at higher risk of mental health problems. These results could be explained by the low power of the multivariable statistical models with the involved sample sizes. However, other explanations would be worth exploring. For instance, the action of SARS-CoV-2 has on the brain, which may be attenuating the protective effects of resilience. In fact, COVID-19 has short-and long-term neuropsychiatric symptoms and long-term brain sequelae, showing anosmia, cognitive and attention deficits (i.e., brain fog), new-onset anxiety, depression, psychosis, seizures, and even suicidal behavior, because SARS-CoV-2 can damage endothelial cells leading to inflammation, thrombi, and brain damage [46]. Another explanation would be the cumulative effect of risk factors that might cause an allostatic load that increases vulnerability to new onsets of mental health problems [47,48]. According to this, individuals with COVID-19 could be exposed to a higher number of typical stressors of the pandemic situation described above.

Implications for Clinical Practice
Immediate steps to increase mental health support were taken by countries. For instance, most countries implemented measures to protect jobs and incomes; job retention schemes helped to support both the incomes and the mental health of workers. In addition, phone support lines were developed to give tips on coping measures during the COVID-19 pandemic [3].
The main areas of mental health policy applied to some countries during the COVID-19 pandemic were legislation, regulation, financing, accountability, and workforce development [49]. However, there is broad support in the literature that it should be implement policies that act on the social determinants of health in mental health policies [49]. In the literature on resilience, the importance of the emotional and social dimensions of the lives and histories of individuals, families, organizations, and communities is evident [50].
As resilience probably mediates MDE, STB, and PTSD regarding the epidemic, these findings suggest that promoting resilience may be an essential target for effective psychological interventions for the general adult population; especially for the most vulnerable populations that experienced higher rates of mental distress during the COVID-19 pandemic such as people with less secure employment, lower educational level, and lower-income [3].
This research reinforces the need to design and implement programs to promote resilience from mental health policy, to increase the protective factors related to resilience, and to reduce the risk of suffering from mental problems such as MDE and STB, especially for future crises or pandemics.

Limitations & Strengths
The results of this study must be seen in light of its limitations. First, we only took into account resilience as a trait. External factors, such as social or familial support, are associated with resilience [51], ameliorating the impact of an adverse event. However, the Connor-Davis scale is a valid and reliable questionnaire with good psychometric properties [11]. Second, mental health problems and suicide risk assessment was based on self-reports and not on direct clinical assessment. Therefore, they should be considered as "probable cases" of disorder.
Nevertheless, an excellent diagnostic agreement has been reported with the clinical judgment of the CIDI instrument, which includes the assessment of MDE and STB in our study, with face-to-face [33] and online assessments [52] into the Spanish population. Also, we analyzed two mental disorders (MDE, GAD), STB, and symptoms of PTSD using adapted and validated instruments. Third, the diagnostic test for COVID-19 was selfreported, and there is a probability of it being false negative due to fear of telling the truth or the stigma related to having COVID-19. Fourth, the intervals of confidence in many of the results have been broad, so they must be interpreted cautiously. Finally, although mental health problems were assessed at baseline and follow-up, resilience was evaluated during the pandemic but not before. Ideally, resilience should have been assessed before the pandemic, but the aim of the previous study (baseline assessment) was not to assess the role of resilience in the prevention of mental health problems at the population level. Then, the resilience may be worsened among those with a mental health problem during the follow-up, showing lower resilience than if we assessed it before the pandemic. Therefore, the results should be considered with caution. However, the resilience construct should be considered as a trait and therefore with an appropriate construct stability over time during adulthood.
Nevertheless, the study has several strengths. To our best knowledge, this is the first prospective study assessing prevalent mental disorders before and during the first year of the COVID-19 pandemic. It has also been possible to explore resilience in the different health states that assess trajectories of these mental health problems and in people exposed to COVID-19. Second, we recruited a representative sample of the Spanish adult population, and the results could be generalizable to the rest of the Spaniards. Finally, the online methodology tends to deliver more reliable information about sensitive information, such as suicide risk, than face-to-face assessments [53].

Conclusions
The longitudinal design has allowed us to assess the trajectories of mental health problems (Healthy, Incidence, Persistence, Recovery) depending on resilience. Low resilience increases the risk of suffering a Major Depressive Episode, Suicidal Thoughts and Behaviours, and PostTraumatic Stress Disorder symptoms, but not the risk of suffering a Generalized Anxiety Disorder during the pandemic in the total population. These findings are consistent with previous research on resilience in adverse situations, including the COVID-19 pandemic, where resilience has emerged as a protective factor against mental problems in the population. However, no association was found in the population exposed to COVID-19 (diagnosed by or with symptoms of COVID-19), probably due to brain damage caused by the infection. Social policies aimed to protect and promote resilience may be adequate to improve the mental health of the most vulnerable populations.  Informed Consent Statement: Informed consent was obtained from all subjects involved in the study and to publish this paper.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author.