Christ Learned Obedience
7 Who in the days of his flesh, when he had offered up prayers and supplications with strong crying and tears unto him that was able to save him from death, and was heard in that he feared;
8 Though he were a Son, yet learned he obedience by the things which he suffered . . .
Elder Bruce R. McConkie wrote:
“[Hebrews 5,] verses 7 and 8 apply to both Melchizedek and to Christ, because Melchizedek was a prototype of Christ and that prophet’s ministry typified and foreshadowed that of our Lord in the same sense that the ministry of Moses did. (Deut. 18:15–19; Acts 3:22–23; 3 Ne. 20:23; [Joseph Smith—History] 2:40.) Thus, though the words of these verses, and particularly those in the 7th verse, had original application to Melchizedek, they apply with equal and perhaps even greater force to the life and ministry of Him through whom all the promises made to Melchizedek were fulfilled.”
(Doctrinal New Testament Commentary, 3 vols. [1965–73], 3:157.)