I know virtually nothing about the beliefs of the Mormons, but I guess you’re talking about this:
–Robert L. Millet and Noel B. Reynolds, “Do Latter-day Saints believe that men and women can become gods?” website of the Maxwell Institute, Brigham Young University
https://publications.mi.byu.edu/fullscreen/?pub=1090&index=6
I’m no Bible expert, either, but I wonder if the above idea was influenced by this:
Edited to add:
Apologies to Dawud for missing this.