Our God promised to be with us, but there is a precondition to this which is that we have to be His and we have to go where as well as do what He asks us.
Genesis 31:3
3 Then the Lord said to Jacob, “Go back to the land of your fathers and to your relatives, and I will be with you.”
Matthew 28:20
20 Teach these new disciples to obey all the commands I have given you. And be sure of this: I am with you always, even to the end of the age.”
Isaiah 41:10
10 Don’t be afraid, for I am with you. Don’t be discouraged, for I am your God. I will strengthen you and help you. I will hold you up with my victorious right hand.