Question: why hester should keep pearl?
Answer: Hester can help Pearl to learn from the mistake that Hester made so that Pearl will be a better person for having been taken care of by her. Vice-versa, remember that Dimmesdale made the point that Hester can benefit from Pearl. When he said that Hester can be saved from worse sins, he wasn't kidding.