“Well, if Jesus isn’t real and this all turns out to be false, I will still have lived a good life.”
No. No you won’t have. Paul argues it this way in 1st Corinthians 15:
12 Now if Christ is proclaimed as raised from the dead, how can some of you say that there is no resurrection of the dead? 13 But if there is no resurrection of the dead, then not even Christ has been raised. 14 And if Christ has not been raised, then our preaching is in vain and your faith is in vain. 15 We are even found to be misrepresenting God, because we testified about God that he raised Christ, whom he did not raise if it is true that the dead are not raised. 16 For if the dead are not raised, not even Christ has been raised. 17 And if Christ has not been raised, your faith is futile and you are still in your sins. 18 Then those also who have fallen asleep in Christ have perished. 19 If in Christ we have hope in this life only, we are of all people most to be pitied. (Emphasis mine)
Most pitied. Why would Paul say that? Because the Christian life is not merely one of following good moral codes and elseways living as one wishes. Paul continues:
29 Otherwise, what do people mean by being baptized on behalf of the dead? If the dead are not raised at all, why are people baptized on their behalf? 30 Why are we in danger every hour? 31 I protest, brothers, by my pride in you, which I have in Christ Jesus our Lord, I die every day! 32 What do I gain if, humanly speaking, I fought with beasts at Ephesus? If the dead are not raised, “Let us eat and drink, for tomorrow we die.” 33 Do not be deceived: “Bad company ruins good morals.” 34 Wake up from your drunken stupor, as is right, and do not go on sinning. For some have no knowledge of God. I say this to your shame.
Burn that last verse into your memory, for it is for our generation. Paul sacrificed his whole life for Christ. Everything he did was for Jesus. He endured persecution, beatings, trials, dangers, perils, and even execution all for the sake of Christ Jesus. Truly, if Christ was only a myth, Paul would have wasted his whole life when he could have been doing something else more useful and lived far more comfortably.
And that is the point. We should all live in such a way that we would be wasting our lives if Christ is not real. If you could take Christ out of your life and still find something worth living for, you are not living the way God desires.
All to Jesus we should surrender.