“Mistake” is a very soft/light word for killing a baby.
Jesus said on the cross “Father forgive them for they know not what they do”.
Yes it was a mistake. They did not know what they were doing and some still don’t know.