Yes, you interpreted that correctly. You cannot deduct your foster care expenses as a charitable contribution if the agency cannot accept charitable donations.
Instead, your expenses would be used to determine if you are eligible to claim the foster child as a dependent. If your expenses were greater than the amount you received for providing the foster care, then the 'support' requirement for claiming a dependent would be met.
Who can I claim as a dependent?
@abhiol
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"