The article explains pretty well why this particular research isn't dangerous. It's technically gain of function, but if you prohibit any research that adds antibiotic resistance to bacteria you eliminated essentially all of microbiology research.
Perhaps it would be better to address the issues that can lead to an incident rather than stopping all research. Even counting the COVID-19 pandemic, the overall impact of gain-of-function research on health is still positive.
https://www.sciencedirect.com/science/article/abs/pii/S07554...
https://www.newsweek.com/controversial-wuhan-lab-experiments...
https://www.newsweek.com/covid-lab-leak-china-virus-nuclear-...
https://www.vanityfair.com/news/2022/10/covid-origins-invest...
https://www.propublica.org/article/senate-report-covid-19-or...
https://onlinelibrary.wiley.com/doi/full/10.1002/bies.202000...