+0
Is the following sentence grammatically ok?

I am really thankful to God that she didn’t came to knew this at that point of time or she would had left me long back then itself. Indeed I shall confess that I wasn’t able to gather an enough courage to tell her the truth then.
+0
.
I am really thankful to God that she didn’t come to know this at that point of time, or she would had left me long back then. Indeed I confess that I wasn’t able to gather enough courage to tell her the truth then.
Comments  
Can you please tell Is it wrong to write ..that she didn't came to knew rather than come to know... I though as it is past tense so that sounds better please explain me

and then I shall confess rather than I confess is wrong as it is in present tense