You have not explained your family relationship (if any) to the child, so we cannot determine if you can claim the child as a dependent. And you have not told us how long the child lived with you in 2024. The date that you got POA is not relevant.
Without any personal information, please provide some pertinent details.