Should I go to community college as an international student?

I am a refugee currently residing in India. I once had strong grades and deeply believe in my intelligence, but during 11th and 12th grade, I struggled with both physical and mental health issues that significantly impacted my academic performance. Despite this, I chose to apply to colleges in the U.S. as a low-income, first-generation student. Given my need for substantial financial aid and my lower stats, I wasn’t surprised to receive multiple rejections.

Now, I am considering community college as an alternative, especially since I have many relatives in California who are willing to support me with housing. I have promised myself that I will work incredibly hard after experiencing these setbacks. Do you think attending community college is a worthwhile option? Additionally, would I be eligible for financial aid when transferring to a four-year university?