Is "There's more sanctity in a dog's loyalty than there is in all your human laws." a quote from the Holy Bible? I just saw an episode of The Simpson's on television (S28E22 - Dogtown), in which during a courtroom scene, the judge turns to the jury and says:


  Now, I have a brief instruction for the jury:  
  
  "There's more sanctity in a dog's loyalty than there is in all your human laws."


Then raises the court's Holy Bible and motions to it, as if quoting scripture.

Quite a profound and eloquent statement, but not one I've ever seen/heard in relation to any spiritual or religious texts. A cursory online search yields no results. Can anybody confirm or deny? Thanks.
"There's more sanctity in a dog's loyalty than there is in all your human laws." 

The above quote is not of biblical origin and can not be found in Scripture.

References to dogs in the bible are extremely rare. Most are in an unfavourable light, but not all.

In the Book of Tobit, ”man’s best friend” accompanies Tobiah on his journey to Media.


  Tobit's dog appears only twice (in 6:2 and 11:4) and plays no role in the story (actually he accompanies Tobias, Tobit's son). Like many dogs, he just shows up whenever something seems to be going on. This little detail has greatly exercised the commentators, and even now no one seems to know how the dog got into the story. - Tobit's Dog


Even family pets eating scraps is a ancient custom since immemorial times. Even Jesus talked about it:


  21 Leaving that place, Jesus withdrew to the region of Tyre and Sidon. 22 A Canaanite woman from that vicinity came to him, crying out, “Lord, Son of David, have mercy on me! My daughter is demon-possessed and suffering terribly.”
  
  23 Jesus did not answer a word. So his disciples came to him and urged him, “Send her away, for she keeps crying out after us.”
  
  24 He answered, “I was sent only to the lost sheep of Israel.”
  
  25 The woman came and knelt before him. “Lord, help me!” she said.
  
  26 He replied, “It is not right to take the children’s bread and toss it to the dogs.”
  
  27 “Yes it is, Lord,” she said. “Even the dogs eat the crumbs that fall from their master’s table.”
  
  28 Then Jesus said to her, “Woman, you have great faith! Your request is granted.” And her daughter was healed at that moment. - Matthew 15:21-28


The most macabre dog story can be found in 2 Kings 9: 30-37:


  30 And when Jehu was come to Jezreel, Jezebel heard of it; and she painted her face, and tired her head, and looked out at a window.
  
  31 And as Jehu entered in at the gate, she said, Had Zimri peace, who slew his master?
  
  32 And he lifted up his face to the window, and said, Who is on my side? who? And there looked out to him two or three eunuchs.
  
  33 And he said, Throw her down. So they threw her down: and some of her blood was sprinkled on the wall, and on the horses: and he trode her under foot.
  
  34 And when he was come in, he did eat and drink, and said, Go, see now this cursed woman, and bury her: for she is a king's daughter.
  
  35 And they went to bury her: but they found no more of her than the skull, and the feet, and the palms of her hands.
  
  36 Wherefore they came again, and told him. And he said, This is the word of the Lord, which he spake by his servant Elijah the Tishbite, saying, In the portion of Jezreel shall dogs eat the flesh of Jezebel:
  
  37 And the carcase of Jezebel shall be as dung upon the face of the field in the portion of Jezreel; so that they shall not say, This is Jezebel.




Queen Jezebel Being Punished by Jehu, by Andrea Celesti


  9I will make the house of Ahab like the houses of Jeroboam son of Nebat and Baasha son of Ahijah. 10And the dogs will eat Jezebel on the plot of ground at Jezreel, and there will be no one to bury her.’” Then the young prophet opened the door and ran away. 11When Jehu went out to the servants of his master, they asked, “Is everything all right? Why did this madman come to you?” “You know his kind and their babble,” he replied.… - 2 Kings 9:10


To be called a dog is to be considered of low status. I guess it is not a compliment to say the least.


  There is evidence in the Bible that physical violence toward dogs was considered acceptable (1 Samuel 17:43; Proverbs 26:17). To compare a human to a dog or to call them a dog was to imply that they were of very low status (2 Kings 8:13; Exodus 22:31; Deuteronomy 23:18; 2 Samuel 3:8; Proverbs 26:11; Ecclesiastes 9:4; 2 Samuel 9:8; 1 Samuel 24:14). In the New Testament, calling a human a dog meant that the person was considered evil (Philippians 3:2 ["Beware of dogs, beware of evil workers, beware of the concision." (KJV)]; Revelation 22:15). - No, No, Bad Dog: Dogs in the Bible