Moses then left Pharaoh and prayed to the Lord.