So you can take out your principal amount but you get penalized on the interest?
From Chat GPT
Yes, you can withdraw contributions from your Roth IRA at any time without incurring taxes or penalties, as these contributions are made with after-tax dollars.
NerdWallet: Finance smarter
However, withdrawing earnings—the investment gains within your Roth IRA—before age 59½ and before the account has been open for at least five years may result in taxes and a 10% early withdrawal penalty. There are exceptions to this penalty, such as using the funds for a first-time home purchase (up to a $10,000 lifetime limit), covering qualified education expenses, or in cases of disability.
Time