Rick Yancey said this quote

Everything's going to be okay', because that's what I wanted him to say and it's what he wanted to say and that's what you do when the curtain is falling — you give the line that the audience wants to hear.