The speaker (v. 24) is Jacob, the father of Joseph of Egypt. He contrasts his joy in knowledge that some of Joseph’s seed will be preserved with his sorrow that some will be lost.