"All the Law and the Prophets hang on these two commandments" (Matt 22:40)
"All the Law and the Prophets" is shorthand for the whole Jewish Bible. In other words, the commands to love God and love neighbor sum up everything God wanted made known in the history of His people. Saved out of suffering and bondage in Egypt, the people of God learned that they had a God who was imminently worthy of their worship and their love—whose loving-kindness went out ahead of any human attempt to respond. For those who have been freed from bondage and brought into friendship with God, the only fitting response after worship is to try to live together with the same care and compassion.