Get your taxes done using TurboTax

The distribution in 2023 was only from my contributions, not earnings. As a result I believe they are exempt from federal taxes. Is this not the case about state taxes?