welcome to fishlore!! im sorry for the loss of your mollies
Unfortunately, in an 8g/30l tank, theres no room for them all and they are fighting back the best they can...3 mollies, a goldie, and 2 blue gouramis, is going to be a war zone soon if its not already
gourami's are super territorial and im surprised they havent killed one another or tore up the mollies...and depending on your type of goldie, he needs a 20g tank alone as his waste production is huge!
maybe you can upgrade for your fish and get a bigger tank ?
goodluck!