I took a coronavirus distribution...

I took a coronavirus distribution from my 401K this year because my children’s school was closed down. I was told this income would not be taxable. I was not working during that time. When I filed though, it made me pay tax on it. Is this correct?