Hebrews 5:8-9
8 Although He was a Son, He learned [active, special] obedience through what He suffered
9 And, [His completed experience] making Him perfectly [equipped], He became the Author and Source of eternal salvation to all those who give heed and obey Him,

The Bible DOES NOT say Jesus was perfect. The Bible says Jesus was MADE perfect through His obedience to God. Jesus was and will be the only person to ever walk this earth and resist the temptations of Satan and remain obedient to God.

What does this mean for us?
We can use Jesus as a measuring stick or a point of reference for our lives. The more we’re obedient to God, the more we can be like Jesus. Even when we miss the mark, God gives us grace and mercy by forgiving us of our sins and remembering them no more. It’s because of Jesus we receive grace, mercy, and forgiveness. Therefore we can start from a clean (guilt free) slate and practice perfection through our obedience to God.