That's what Biden did. When th Taliban was guarding the entrance to the airport, Biden gave the Taliban the names & addresses of Americans & friendly (to us) Afghans, with the idea that the Taliban would than let them into the airport to be evacuated.
Did Biden think the Taliban were a bunch of nice, friendy guys, who could be trusted ? They promptly used that list to STOP Americans & friendly Afghans from getting into the airport, and then used the lists to go door to door, hunting down Americans & friendly Afghans, and killing them.
We'll never know how many Americans died because of Biden's thoughtlessness and recklessness.