And those two commandments are found in the Old Testament.The Bible is a long book with lots of quotations from God and Jesus. I think Jesus sums it up with the two great commandments: Matthew 22:34-40.
Deut 6:5 And thou shalt love the Lord thy God with all thine heart, and with all thy soul, and with all thy might
Lev 19:1818 Thou shalt not avenge, nor bear any grudge against the children of thy people, but thou shalt love thy neighbour as thyself: I am the Lord.
1st to God, then to neighbor
10 Commandments: 1st 4 to God last 6 to neighbor