Semaglutide was invented before 2008. Its patent expires in a few years.
It takes a long time to get drugs through trials and get the FDA to approve drugs for new uses. Pharmaceutical companies spend billions on drugs that never make it through trials. If you don’t enforce their patents, companies won’t make new drugs.