Complex sentence: They eventually find their way to the Red Sea, but as they are resting, they discover that Rameses has changed his mind and is closely pursuing them with his army.
Split into simpler sentences: They eventually find their way to the Red Sea. As they are resting, the group discover that Rameses has changed his mind and is closely pursuing them with his army.