Yes, Jesus was sinless and it is because Jesus was sinless that we have hope of an eternity in heaven. If Jesus were not sinless, there would be no sacrific for sin. Adam and Eve’s disobedience to God in the Garden of Eden ushered sin into this world (Genesis 3:6). And with this sin came death, just as God had warned (Genesis 2:17). As a result, mankind is now born with a sin nature (Romans 5:12–19), and it is with us from the time we are conceived (Psalm 51:5). The Bible makes it clear, however, that Jesus Christ, though tempted in every way just as we are (Hebrews 4:15), never committed a sin (2 Corinthians 5:21; 1 John 3:5). The apostle Peter stated it clearly: “He committed no sin and no deceit was found in His mouth” (1 Peter 2:22). Indeed, as Jesus Christ is God, He has no capacity to sin.
In addition to putting a barrier between us and our Creator, our inherited sinful nature subjected all of us to physical and eternal death because “the wages of sin is death” (Romans 6:23). Now, to be reconciled with God there needed to be forgiveness, and “without the shedding of blood there is no forgiveness” (Hebrews 9:22). And after Adam and Eve sinned, God clothed them with “garments of skin” (Genesis 3:21) by shedding the blood of an animal. However, the many subsequent animal sacrifices, although perfectly illustrating that sin requires death, provided only a temporary covering of sins, as the blood of those animals could never completely take away sin (Hebrews 10:4, 11).
These sacrifices, however, were a foreshadowing of the perfect “once for all” sacrifice of Jesus Christ (Hebrews 7:27, 10:10). The only way we could have been reconciled to a holy and perfect God was with a holy and perfect offering which we would not have had if Jesus Christ was not without sin. As Peter declared: “for you know that it is not with perishable things such as silver or gold that you were redeemed … but with the precious blood of Jesus Christ, a lamb without blemish or defect” (1 Peter 1:18–19). Indeed, it was the sinless blood of Christ alone that was able to bring peace between God and mankind (Colossians 1:20). And with this reconciliation, we can be “holy in [God’s] sight, without blemish and free from accusation” (Colossians 1:22).
Sinless Christ’s death on the cross at Calvary paid the full penalty for the sin of all who believe in Him. Thus, what was lost at the fall was given back at the cross. Just as sin entered the world through one man (Adam), God was able to redeem the world through one man—the sinless Jesus Christ.
 Got Questions Ministries. (2010). Got Questions? Bible Questions Answered. Bellingham, WA: Logos Bible Software.