Sometimes, we do things that are important to us. Or that we think will bring us nearer to our goal. Except the longer we stay there, the unhappier we become.
Those times, it could be better for all around to just walk away. However, it's important to seek God's will first, as it might just be a test.
You'll know the difference, but rule of thumb is this. If you're coming home every day feeling like you're getting absolutely nowhere, wanting to literally cry because of the extreme frustration. If it feels as if you're running into closed doors everywhere, odds are God closed them. Which means you should be looking for another door. Maybe in another hallway.
Because this is often what it comes down to. God's will versus your will. You think you know what you need in your life. He knows. Wrestling with Him to get what you want might work, but I promise you it won't be all that you imagined it to be. One the other hand, His will leads you to better places than you could even have dreamed.
Personally, I prefer the latter above all, but I also know that saying the words "Your will be done" and meaning them are two different things. Because God's will can sometimes make life incredibly difficult. He's not about making things easy (although He does help). He's about building those who follow Him. Which means that you'll go through some difficult times in your life.
Like quitting when you don't know what you have to do next. Or staying when you really want to quit.
Prayer
Lord,
Thank you for always being with me. I know that You know what a difficult time I'm going through right now. Please guide me through it. If I need to find a way out, please show me. If I need to stay, please give me the strength to do so. Please help me to see Your will and to obey it, Lord.
In Jesus's name I pray.
Amen.