I dont think you did anything wrong. Chicks dont just die days after they hatch unless something wrong with them(when they have food water and heat of course). Seems to me you simply had a batch set of eggs/chicks. Dont feel bad. I killed 30 chicks a week or so ago because i miss counted the days. Hatch on and try another.