I beat my wife to correct her, man explains to court