Allah doesn’t leave you if you don’t leave Him. He is merciful and generous. Try to fulfill the obligations he has asked you to fulfill, believe in his oneness, believe in the Day of Judgment, increase your knowledge and if you sin repent. You’ll be ok.