Mt 12:6, 2 Chr 6:18, Isa 66:1, Mal 3:1, Mt 11:28,Mt 12:8
The Jews do not know exactly why God gave the temple and the Sabbath. The temple is to wait for Christ to play the role of the true temple, and the Sabbath is to dwell in Christ who is the true rest.
God cannot dwell in the temple. (2 Chr 6:18, Isa 66:1)
2 Chr 6:18 But will God in very deed dwell with men on the earth? behold, heaven and the heaven of heavens cannot contain thee; how much less this house which I have built!
Isa 66:1 Thus saith the Lord, The heaven is my throne, and the earth is my footstool: where is the house that ye build unto me? and where is the place of my rest?
The one greater than the temple, Christ came to the temple. (Mt 12:6, Mal 3:1)
Mt 12:6 But I say unto you, That in this place is one greater than the temple.
Mal 3:1 ehold, I will send my messenger, and he shall prepare the way before me: and the Lord, whom ye seek, shall suddenly come to his temple, even the messenger of the covenant, whom ye delight in: behold, he shall come, saith the Lord of hosts.
The purpose of the Sabbath is to dwell in the true rest of God. The true rest of God is Christ. (Mt 11:28)
Mt 11:28 Come unto me, all ye that labour and are heavy laden, and I will give you rest.
Jesus, the Christ, is Lord of the Sabbath. (Mt 12:8)
Mt 12:8 For the Son of man is Lord even of the sabbath day.
In conclusion, the church is not a place to learn the law, but a place to learn Christ.