Does gold mining have any positive effects on the environment?
In general, mining of any sort is environmentally detrimental. Unless specific precautions and remediations are done before, during and after mining operations, the environment is left in a worse state.
The purpose of mining is to extract valuable useful materials for human use. The value of the local environmental condition relative to the value of the extracted ores has been a constantly changing ratio based on economics and social culture.