Deuteronomy 14:23bachar
"You shall eat in the presence of the Lord your God, at the place where He chooses to establish His name, the tithe of your grain, your new wine, your oil, and the firstborn of your herd and your flock, so that you may learn to fear the Lord your God always.
Eating tithes at God's chosen place teaches Israel to fear Him.
Deuteronomy 17:8bachar
"If any case is too difficult for you to decide, between one kind of homicide or another, between one kind of lawsuit or another, and between one kind of assault or another, being cases of dispute in your courts, then you shall arise and go up to the place which the Lord your God chooses.
Hard legal cases go up to the place God chooses.