LM358 Distortion Reduction
If you're using just a single 9V power supply, then you will only get one half of the waveform you're expecting. You either need to use dual (e.g., &plusmn;9V) supplies, or you need to bias the opamp's noninverting input to half the supply voltage (4.5V) and AC-couple the audio input and output.

Also, you need to either reduce the gain or reduce the input signal level to avoid clipping. A 5V signal with a gain of -3 will (try to) produce an output signal of 15V, which is outside your supply range.