When the LORD passes through to strike Egypt and sees the blood on the lintel and the two doorposts, He will pass over the door and not let the destroyer enter your houses to strike you.
Exodus 12:23 HCSB
The sheep and goat’s blood on the doorposts was a sign of being protected from death by the animal’s blood. This refers to a creature dying in your place so that God’s judgment, the death of every firstborn, would stop the angelic destroyer from killing you or one of your family members.
But if we walk in the light as He Himself is in the light, we have fellowship with one another, and the blood of Jesus His Son cleanses us from all sin. -1 John 1:7
The death of the animal was a foreshadow of the crucifixion of Jesus Christ. Jesus was going to receive God’s judgment that we deserve on Him. When you put your faith in Jesus Christ, His blood gets brushed on the doorpost of your heart. When you die, the Lord will see the blood of Christ on you and will not judge you for all the sins you have committed. You see, the blood of Christ not only saves you from judgment, but it also washes away all of your sins.
The next day John saw Jesus coming toward him and said, “Here is the Lamb of God, who takes away the sin of the world! -John 1:29
Don’t let your heart be troubled in this world with the evil things that you see. Put your trust in Jesus Christ because there’s an appointed time when Jesus will come with all of His angels to rescue us from this world to take us to where He is at.