The origin of gold in the universe Where gold really comes from, an article published May 8, 2019 in Nature (a top science journal):
"Collapsars as a major source of r-process elements"
https://www.nature.com/articles/s41586-019-1136-0
Their point is that 80% of the gold in the universe may come from collapsars (very massive stars that collapses into a neutron star or black hole).
The other 20% of the gold in the universe may come from neutron star mergers.