so wait if another group solves the block first we dont get paid??
Yes. That is how all of the pools work.
The whole point is a race to the finish. Think of it as a lottery.
By joining the pool, you agree that if anyone in the pool finds the block, we split the share with the pool. We are trying to raise our chances of a winning ticket by joining together.
Other pools and solo miners are our competition.