Deuteronomy 4:29 gives a special look on this, "But if from thence thou shalt seek the Lord thy God, thou shalt find Him, if thou seek Him with all thy heart and with all thy soul." (emphasis mine)
God promises that when we seek Him "from thence" (where we are, at that moment), with our whole heart, we will find Him.
Are you caught in a place you know you shouldn't be? Stop and seek God from right here.