What do the principles and the Torah have in common?

The Torah contains the basic principles of Judaism.