Here's Deuteronomy 6:4-9: "4 'Hear, O Israel: The LORD our God, the LORD is one. 5 You shall love the LORD your God with all your heart and with all your soul and with all your might. 6 And these words that I command you today shall be on your heart. 7 You shall teach them diligently to your children, and shall talk of them when you sit in your house, and when you walk by the way, and when you lie down, and when you rise. 8 You shall bind them as a sign on your hand, and they shall be as frontlets between your eyes. 9 You shall write them on the doorposts of your house and on your gates.'"
Both passages talk about "bind[ing]" these commandments to one's self, but the strongest similarity is between Deuteronomy 6:7 and Proverbs 6:22: "when you walk... when you lie down... and when you rise/awake."