okay notice the "were" part of this sentence. The word "were" is past tense. So he knew he was going to die. But then he survived because of Rapunzel and so he got to fulfill his dream. I wonder how he actually felt when she walked down the aisle because this something he wasn't supposed to experience but it happened. I guess it made him appreciate the moment a whole lot more.