If a person truly loves his children, then he will correct them when they are wrong. If you love your son, then you will be careful to teach him the right way.
So accept sufferings like those sufferings are a father’s punishment. God does these things to you like a father punishing his children. All children are punished by their fathers.