This is why the people of Isra’el cannot stand before their enemies. They turn their backs on their enemies, because they have come under a curse. I won’t be with you any more unless you destroy the things meant for destruction that you have with you.
-Joshua 7:12
Taking this out of context and extracting a life lesson from it, I think this narrative conveys the idea that a lack of internal consistency and cohesive vision spells doom for any endeavor. How can one entity, how can one person achieve a goal when they are not committed to it? Everything has a cost and if you want to make something happen you will have to give up something else to get it. If you get distracted by things that pull you away from your goal, it will make reaching harder. If you follow after that which is contrary to your goal, you may never reach it. You have to give to get. You have to purge yourself from that which is holding you back from reaching your goals so that you can be free to grasp them.