God is absolutely and perfectly holy: “Holy, holy, holy is the LORD of hosts” (Isaiah 6:3), therefore, He cannot commit or approve of evil.
James 1:13 (NASB)
13 Let no one say when he is tempted, “I am being tempted by God”; for God cannot be tempted by evil, and He Himself does not tempt anyone.
As God, Jesus embodied every element of God’s character. Colossians 2:9 says, “For in Him all the fullness of Deity dwells in bodily form.” He was perfectly holy.
Hebrews 4:15 (NASB)
15 For we do not have a high priest who cannot sympathize with our weaknesses, but One who has been tempted in all things as we are, yet without sin.
God requires holiness of us as well. “You shall be holy; for I am holy” (1 Peter 1:16).