Charity is when we choose to give. It's stealing when someone forces us to give.
Back in the day, charity almost always came with strings attached, the exception being widows and orphans. If a functioning adult fkt their situation up so badly that they couldn't take care of themselves and their family they could get help on condition that they changed the behavior that got them into that mess ASAP.
The application of no-questions-asked entitlements is a more recent development. WRT these kids, they ARE being taken care of in better conditions than what their parents had previously subjected them to. The apparent expectation that we would be compelled to release them just because they managed to overwhelm our resources was a cynical and immoral move on the part of the parents and the smugglers and there's no reason we should submit to that manipulation.
Take care of the kids for the time being then send them back. Expedite the processing and then ban the parents for life. If we want to import people to farm for cheap labor and votes then expand the legal immigration quotas as appropriate. Open the front door wider and let more people in that way. But WE retain discretion over quantity and quality, not them.