What’s the Father’s Duty to His Children?

Some think that the father’s role is only to provide for the children. Please explain the duty and role of the father in his children’s upbringing.