Gen 2:1-3, Ex 20:10, Ex 31:13, Heb 4:1-11, Mt 11:28

Jesus is Lord of the Sabbath. The Sabbath is a day to receive true rest through Jesus, the Christ. The laws of the Sabbath are a guide to lead to rest in Christ. (Lk 6:5)

Lk 6:5 And he said unto them, That the Son of man is Lord also of the sabbath.

In the Old Testament, it is recorded that God rested after creation. (Gen 2:1-3)

Gen 2:1 Thus the heavens and the earth were finished, and all the host of them. 2 And on the seventh day God ended his work which he had made; and he rested on the seventh day from all his work which he had made. 3 And God blessed the seventh day, and sanctified it: because that in it he had rested from all his work which God created and made.

Also, in order to keep this Sabbath, the Old Testament forbids working on the Sabbath. (Ex 20:10, Ex 31:13)

Ex 20:10 But the seventh day is the sabbath of the Lord thy God: in it thou shalt not do any work, thou, nor thy son, nor thy daughter, thy manservant, nor thy maidservant, nor thy cattle, nor thy stranger that is within thy gates:

Ex 31:13 Speak thou also unto the children of Israel, saying, Verily my sabbaths ye shall keep: for it is a sign between me and you throughout your generations; that ye may know that I am the Lord that doth sanctify you.

But this rest is the shadow of Christ, the eternal rest. There is eternal rest only in Christ. (Heb 4:1-11, Mt 11:28)

Heb 4:1 Let us therefore fear, lest, a promise being left us of entering into his rest, any of you should seem to come short of it. 2 For unto us was the gospel preached, as well as unto them: but the word preached did not profit them, not being mixed with faith in them that heard it. 3 For we which have believed do enter into rest, as he said, As I have sworn in my wrath, if they shall enter into my rest: although the works were finished from the foundation of the world. 4 For he spake in a certain place of the seventh day on this wise, And God did rest the seventh day from all his works. 5 And in this place again, If they shall enter into my rest. 6 Seeing therefore it remaineth that some must enter therein, and they to whom it was first preached entered not in because of unbelief: 7 Again, he limiteth a certain day, saying in David, To day, after so long a time; as it is said, To day if ye will hear his voice, harden not your hearts. 8 For if Jesus had given them rest, then would he not afterward have spoken of another day. 9 There remaineth therefore a rest to the people of God. 10 For he that is entered into his rest, he also hath ceased from his own works, as God did from his. 11 Let us labour therefore to enter into that rest, lest any man fall after the same example of unbelief.

Mt 11:28 Come unto me, all ye that labour and are heavy laden, and I will give you rest.