Those he knew beforehand he also marked out beforehand to be shaped to the image of his Son, so that his Son might be the firstborn among many brothers.
In context
27And he who searches our hearts knows the mind of the Spirit, because the Spirit pleads for the saints as God would have it. 28We know that in everything God works for good with those who love him, who are called according to his purpose. 29Those he knew beforehand he also marked out beforehand to be shaped to the image of his Son, so that his Son might be the firstborn among many brothers. 30And those he marked out beforehand he also called; those he called he also justified; and those he justified he also glorified. 31What shall we say to all this? If God is for us, who can be against us?