Everywhere Jesus joined the word about His suffering with miracles, so that they would not think that He suffered out of weakness. And now, having said the sorrowful word that "they will kill Him," He adds also the joyful one – that "on the third day He will rise," so that we may know that joy always follows after sorrows, and therefore so that we would not waste away in spirit needlessly in sorrows, but would hope to receive something joyful as well.
Source: Commentary on Mark