Deductions & credits

Since the child was born in 2021 you can only add them as a dependent on the 2021 tax return that you will file next year.