You do not enter anywhere on your 2021 federal tax return that you paid your federal tax from a previous year. It is not deductible.
There are six states that allow you to enter the federal tax you paid on your state return--Alabama, Iowa. Louisiana, Missouri, Montana, and Oregon. If you are filing in one of these states watch for the deduction when you prepare your state return.