If God was with Moses, He will be with us.

When God promised to be with Joshua even as He had been with Moses; He meant that He would be with us just as He had been with them.