When the waves cover them like shadows , they pray to God with sincerity in their religion , but when We bring them safely to land , only some of them follow the right path . No one rejects Our revelations except the treacherous ungrateful ones .