Sometime after the creation of Adam and Eve on the sixth day of creation, see Genesis 1:26-31, they rebelled against God by eating the fruit of the tree of the knowledge of good and evil.
By doing so they brought sin into the world and upon all of humanity. The details of this are in Genesis 3:1-24.
“Brethren, if a man is overtaken in any trespass, you who are spiritual restore such a one in a spirit of gentleness, considering yourself lest you also be tempted.” Galatians 6:1.
“Exhort servants to be obedient to their own masters, to be well pleasing in all things, not answering back, not pilfering, but showing all good fidelity, that they may adorn the doctrine of God our Savior in all things.” Titus 2:9-10.
“Then Jesus came with them to a place called Gethsemane, and said to the disciples, ‘Sit here while I go and pray over there.’ And He took with Him Peter and the two sons of Zebedee [James and John], and He began to be sorrowful and deeply distressed. Then He said to them, ‘My soul is exceedingly sorrowful, even to death. Stay here and watch with Me.’ He went a little farther and fell on His face, and prayed, saying, ‘O My Father, if it is possible, let this cup pass from Me; nevertheless, not as I will, but as You will.’ Then He came to the disciples and found them sleeping, and said to Peter, ‘What? Could you not watch with Me one hour? Watch and pray, lest you enter into temptation. The spirit indeed is willing, but the flesh is weak.’ Again, a second time, He went away and prayed, saying, ‘O My Father, if this cup cannot pass away from Me unless I drink it, Your will be done.’ And He came and found them asleep again, for their eyes were heavy. So He left them, went away again, and prayed the third time, saying the same words. Then He came to His disciples and said to them, ‘Are you still sleeping and resting? Behold, the hour is at hand, and the Son of Man is being betrayed into the hands of sinners. Rise, let us be going. See, My betrayer [Judas] is at hand.’” Matthew 26:36-46.