Hi Victoria,
You are grieving right now. You are young, your life is not over, there is always hope. You did what you could to bring your husband to Christ, but YOU didn't fail. We cannot make anyone come to Him, all we can do is share Christ's love, be His truth and grace, be a good witness...