Question: why did sozin betray roku?
Answer: Roku valued his past friendship with Fire Lord Sozin so much that he believed letting Sozin live will make him understand and that Sozin will change. Unfortunately, Sozin kept his ideas a secret and patiently waited for the time of Roku's death. He went so far to even betray Roku when his help was needed.