Of course they shouldn’t have given the ring to Tom Bombadil. But if they had, the scene of Sauron going to Tom’s house and knocking on his door to ask for the ring (because that’s exactly what would have happened) would have been amazing. Especially after Tom tells him that he lost it.