(Deut. 33:4:) "MOSES COMMANDED US A TORAH, AN INHERITANCE OF THE CONGREGATION OF JACOB." It is an inheritance for all the congregations of Jacob, for everyone who occupies himself with it for its own sake merits the inheritance of Jacob, as it is said (Isa. 58:14): "THEN YOU SHALL DELIGHT YOURSELF IN THE LORD, etc., AND I WILL FEED YOU WITH THE INHERITANCE OF JACOB YOUR FATHER."
Torah as the Inheritance of All the Congregations of Jacob
Midrash Tanchuma Buber, V'Zot HaBerachah 4:4
תורה צוה לנו משה מורשת קהלת יעקב (שם שם ד). ירושה היא לכל קהלות יעקב, שכל העוסק בה לשמה זוכה הוא לנחלת יעקב, שנאמר אז תתענג על ה' וגו' והאכלתיך נחלת יעקב אביך (ישעיה נח יד).