People have tried alternate measures. But basically everything good anyone cares about is usually so strongly correlated with GDP that you might as well measure GDP. See eg https://voxeu.org/article/defence-gdp-measure-wellbeing
Btw, https://en.wikipedia.org/wiki/Gross_domestic_product#History suggests a more nuanced history of the concept.
It is a terrible measure for human well being. Many things which are actually detrimental increase the GDP (accidents, obesity, depression, pollution...). The inventor of the GDP Simon Kuznets even warned against using it to judge progress, but instead it has become this metric that is the be all.