A woman who stole an 18-month-old baby told the girl's mother she didn't deserve children when confronted after a frantic car chase, a judge has heard.