Retirement tax questions

"What is the purpose of making a Roth IRA contribution in 2021 if you are planning to withdraw it in 2022.  The withdrawal would be non-taxable but the contribution is not deductible, it sounds like a transaction with no purpose."

 

The purpose is to get any capital gain on invesments purchased in that year to be tax free in Roth wheras it would taxed in the traditional IRA upon  withdrawal. So the purchase of stock/bonds assets allows a tax free gain and I actually can throttle the distribution from my IRA based on my tax situation for that year . i would hold this for the whole 2022 year at least in ROTH