Obviously they’re different movies with different characters in different circumstances, but it’s just to show that you don’t have to apparently destroy all of the character’s “hopefulness” and will in order to put them in their low point.
Rian Johnson did not take this advice regarding Luke.