If he was older than 19 if not a full-time student, or older than 23 and had less than $4700 of income (not counting Social Security) then you may be able to claim him as a qualifying relative, and you would get the $500 credit for other dependents for claiming him.
IRS interview to help determine who can be claimed:
https://www.irs.gov/help/ita/who-can-i-claim-as-a-dependent
https://ttlc.intuit.com/questions/3113432-who-can-i-claim-as-my-dependent
WHO CAN I CLAIM AS A DEPENDENT?
You can claim a child, relative, friend, or fiancé (etc.) as a dependent on your 2023 taxes as long as they meet the following requirements:
Qualifying child
Qualifying relative
When you add someone as a dependent, we'll ask a series of questions to make sure you can claim them. There may be other tax benefits you can get when you claim a dependent.
Related Information: