Hebrews 5:8-9 English Standard Version
8 Although he was a son, he learned obedience through what he suffered. 9 And being made perfect, he became the source of eternal salvation to all who obey him,
There will be some who do not have a proper understanding of the Word and in their view these verses will be used to make others insecure about their salvation.
Jesus did not learn to be obedient because He suffered. As with all of us, and Jesus is a man, what we believe has to be experienced to know in truth. He experienced obedience after He suffered and found in Himself the ability to obey as He believed. It was not His suffering that made Him obey, it only gave Him the opportunity to experience it.
As to “made perfect”, there is a way to read this line of verse that implies Christ was not born perfect and that something happened to Him in life that created perfection. Jesus was born fully man and fully God, perfectly man and perfectly God. The man in Him could not resist the God in Him which made His actions reflect His identity.
For those who insist that salvation only comes through obedience, we must submit to the oracles of God for truth in salvation.
Ephesians 2:8-9 English Standard Version
8 For by grace you have been saved through faith. And this is not your own doing; it is the gift of God, 9 not a result of works, so that no one may boast.
Hebrews 5:11-12 English Standard Version
Warning Against Apostasy
11 About this we have much to say, and it is hard to explain, since you have become dull of hearing. 12 For though by this time you ought to be teachers, you need someone to teach you again the basic principles of the oracles of God. You need milk, not solid food,
Avoid becoming dull of hearing.