There is a purpose to what you're going through. God wouldn't bring you to this place and leave you there. What you're going through is there to help you grow, and it's your attitude that causes you to begin doing so. Remember that trials are a process and that God will never desert you during them.