를 해야 한다고

that … has to do

→ 를
phrase Rare #32,408
that … has to do The object being done comes before 를. 한다고 marks the statement as reported or quoted.
KO: 숙제를 해야 한다고 말했어요.
EN: They said that I have to do my homework.