"Do not let your child see you cry" is completely wrong advice, it is perfectly fine to cry in front of children.
"Do not cry in front of the little one." I heard that sentence as soon as I started crying, affected by something terrible that I couldn't control, while my soon-to-be four-year-old daughter was beside me.