Without knowing a lot more, I can't really say what the issue is.
However, I can give you some advice to establish at least a "baseline" to help narrow things down.
Do some resting benchshooting. Sit down at a bench, support your hands on something stable to minimize movement, and do some really slow fire shooting while paying close attention to maintaining your sight picture as you slowly squeeze the trigger.
Doing this will minimize body movements of all kinds which could affect your shooting and help determine at the least whether it's the gun shooting left or something you're doing with the gun that's causing it to shoot to the left.
If you're now shooting at the point of aim, then you can say that the gun is functioning fine and there's something about the way you're handling the gun which is causing you to shoot to the left. Whatever that is, you can be comforted in knowing that if you can maintain your sight picture up until the moment the action breaks and the bullet fires, you will hit at point of aim.
When I had an issue years ago right after I bought my Beretta 92FS, I narrowed it down to a difference in triggers between my new Beretta and my other pistols (Colt 1991A1 and AMT Automag II). Both my other pistols had triggers which moved straight back in their frames. The Beretta's trigger, however, pivots. Understanding this difference in triggers enabled me to focus my training where I needed to...trigger control. That brought my shooting right back to point of aim again.