Jesus said the following:
1) "I am the good shepherd. The good shepherd lays down his life for the sheep."
2) "For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life."
Paul wrote the following:
1) "For it is not those who hear the law who are righteous in God's sight, but it is those who obey the law who will be declared righteous."
Both Jesus and Paul taught faith in Jesus and repentance.