There are shadows of Messiah in the Torah passage שֹׁפְטִים Shoftim (“judges,” Deuteronomy 16:18–21:9), even down to the ceremony when a community is unable to bring a murderer to justice. There are levels of investigation and a careful pursuit of justice and a balance between the rights of the “avenger” and the rights of the accused.
In Shoftim, Moshe (Moses) elaborates on practical application of the Fifth and Sixth commandments. One lesson is that if you do not have respect for your parents, you lose respect for all kinds of authority, from the babysitters to teachers, employers, police officers, judges, prophets and priests. That disrespect will go all the way up the chain of authority to God Himself.