"The character of Daniel is presented to the world as a striking example of what God's grace can make of men fallen by nature and corrupted by sin. The record of his noble, self-denying life is an encouragement to our common humanity. From it we may gather strength to nobly resist temptation, and firmly, and in the grace of meekness, stand for the right under the severest trial. SL 21.1"
"Therefore if any man be in Christ, he is a new creature: old things are passed away; behold, all things are become new."
Both passages speak to the transformative power of God's grace. 2 Corinthians 5:17 describes the new creation in Christ, while the EGW passage uses Daniel as an example of how God's grace can transform a fallen person.
"There hath no temptation taken you but such as is common to man: but God is faithful, who will not suffer you to be tempted above that ye are able; but will with the temptation also make a way to escape, that ye may be able to bear it."
Both passages offer encouragement in the face of temptation. 1 Corinthians 10:13 assures believers that God will provide a way to escape temptation, while the EGW passage uses Daniel's example to inspire resistance to temptation.