This quote is saying that endings are usually sad, so instead of worrying about the ending, the speaker would prefer a happy beginning and a middle. This means they want to experience joy and happiness throughout the duration of their experience, and focus less on the eventual unhappy ending.