I got sole custody of my son back in '77 when it was not real common. The judge spent a lot of time asking basically "do you think you are capable of raising a child?"
My answer was that I had been doing it before we split, and had been doing it since we split, and he's still alive".
I got him.
He's 30 now, has a family of his own, a house and a good, profesional job.
Any "scars"? Sure, it wasn't always easy, and looking back, I was too tough. But he's never been in real trouble, and he is a well liked person at work and with his social circle.
Given the times, (men did not have the social network and understanding to raise kids at that time.) I think we did real well.
My dad wasn't around when I was young so I always guessed on what was right. I told my son to start with the good that I did, and to correct himself where I was wrong. He's a great dad, better than me, and I'm happy with the result. Hang in there, you can do it.