I do not think Rom 9:11 has anything to do with good and evil nor with sin. It is speaking of what God does relative to the purpose of God.
according as it hath been written, 'Jacob I did love, and Esau I did hate.'
Relative to what. To God sending his Son into the world not to condemn the world but that the world through him might be saved,
That Son, God chose to come through, the younger and not the elder, the loved one and not the hated one, according to the purpose of God.
Both were sinners and both did good and evil.
according as it hath been written, 'Jacob I did love, and Esau I did hate.'
Relative to what. To God sending his Son into the world not to condemn the world but that the world through him might be saved,
That Son, God chose to come through, the younger and not the elder, the loved one and not the hated one, according to the purpose of God.
Both were sinners and both did good and evil.