You’re quoting John.
This then is the message which we have heard of him, and declare unto you, that God is light, and in him is no darkness at all. ( 1 John 1:5. )
James went even further.
Let no man say when he is tempted, I am tempted of God: for God cannot be tempted with evil, neither tempteth he any man ( James 1:13. )
But Jesus had both a human and divine nature ( being fully God and fully man ), and He was tempted ( as a man ) “in all points like as we are, yet without sin” ( Heb. 4:15. )
This is why ( as a man ) He could say “Why do you call me good? …No one is good - except God alone” ( Mark 10:18. )
“Very good” isn’t “perfect” ( and that’s as true in the Hebrew text of Genesis as it is in English. )
They weren’t created perfect in knowledge, or there would not be things that they still “desire to look into” ( 1 Peter 1:12. )
This is my commandment, That ye love one another, as I have loved you. Greater love hath no man than this, that a man lay down his life for his friends. Ye are my friends, if ye do whatsoever I command you. ( John 15:12-14. )
Sanctify them in the truth; thy word is truth. As thou didst send me into the world, so I have sent them into the world. And for their sake I consecrate myself, that they also may be consecrated in truth. ( John 17:17-19. )
For even hereunto were ye called: because Christ also suffered for us, leaving us an example, that ye should follow his steps ( 1 Peter 2:21. )
For when we were still without strength, in due time Christ died for the ungodly. For scarcely for a righteous man will one die; yet perhaps for a good man someone would even dare to die. But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us. Much more then, having now been justified by His blood, we shall be saved from wrath through Him. For if when we were enemies we were reconciled to God through the death of His Son, much more, having been reconciled, we shall be saved by His life. ( Romans 5:6-10. )
Pre-Christian sin was never dealt with by the blood of animals.
For the law having a shadow of good things to come, and not the very image of the things, can never with those sacrifices which they offered year by year continually make the comers thereunto perfect. For then would they not have ceased to be offered? because that the worshippers once purged should have had no more conscience of sins. But in those sacrifices there is a remembrance again made of sins every year. For it is not possible that the blood of bulls and of goats should take away sins. Wherefore when he cometh into the world, he saith, Sacrifice and offering thou wouldest not, but a body hast thou prepared me: In burnt offerings and sacrifices for sin thou hast had no pleasure. Then said I, Lo, I come (in the volume of the book it is written of me,) to do thy will, O God. ( Heb. 10:1-7. )