Overall meaning :
And remember, Muhammad, Our servants Abraham, Isaac and Jacob, who were endowed with strength in obeying Allah’s commands and deep understanding of His religion. We distinguished then with a distinct quality: the remembrance of the life to come, by preparing for it and enjoining people to believe in it and show obedience to Us; and in Our sight they were among those We have chosen to convey Our message and among Our truly good and righteous servants.
Also remember Ishmael, Elisha (Al-Yasa’) and Dhul-Kifl; All of them were among the truly good and righteous.