One of the things I love so much about the Lord; He never gives up on us even when we disobey or do things we think is His will and really is just ourselves. Many times we may think that we are hearing God's voice when really it is just us. It takes a close walk and real discernment to know what is from God, what is from you, and what is from the enemy.
A lot of times we think everything that goes wrong is because "the Devil is attacking" us, however sometimes it can be from our own nature. This is not to say that the enemy does not attack us. He does so every moment he gets the chance. Which is why 1 Peter 5:8 warns us: "Be sober, be vigilant; because your adversary the devil walks about like a roaring lion, seeking whom he may devour (NKJV)." The NIV says to be "Self-controlled and alert." The most dangerous sin is Pride and Selfishness. Why? Because Pride and Selfishness/Self Centeredness can drive us to make decisions that benefit us and not others. We are all human, and what to do what we want to do.
Sometimes, when things go wrong, it is based from our own selfishness and our own motive. Which is why it is so important to self evaluate. Look at yourself in the eyes of your loving Savior. Ask why do you do the things you do? What was your motive? Is it biblical? Not to sound cliché but: What would Jesus have you do?
Ask yourself if what motivates you is coming from God, the enemy, or just yourself?
Always remember that God will always be there to advise you through the Holy Spirit and love you even when you make mistakes.