Genesis 21:30

Abraham said, “You are to accept these seven ewe lambs from me as a witness for me, that I dug this well.”

Genesis 31:52

This mound is a witness, and this pillar is a witness, that I will not pass by this mound to harm you, and that you will not pass by this mound and this pillar to harm me.

Genesis 31:44-48

So come now, let us make a covenant, you and I, and let it serve as a witness between you and me.”

Joshua 22:27-28

but to be a witness between us and you and between the generations after us, that we are to perform the service of the Lord before Him with our burnt offerings, and with our sacrifices and with our peace offerings, so that your sons (descendants) will not say to our sons in time to come, “You have no part in the Lord.”’

Joshua 24:27

Joshua then said to all the people, “Look, this stone shall serve as a witness against us, for it has heard all the words of the Lord which He spoke to us; so it shall be a witness against you, so that [afterward] you do not deny your God.”

Treasury of Scripture Knowledge

Summary

And he said, For these seven ewe lambs shalt thou take of my hand, that they may be a witness unto me, that I have digged this well.

Bible References

A witness

Genesis 31:44
So come now, let us make a covenant, you and I, and let it serve as a witness between you and me.”
Joshua 22:27
but to be a witness between us and you and between the generations after us, that we are to perform the service of the Lord before Him with our burnt offerings, and with our sacrifices and with our peace offerings, so that your sons (descendants) will not say to our sons in time to come, “You have no part in the Lord.”’
Joshua 24:27
Joshua then said to all the people, “Look, this stone shall serve as a witness against us, for it has heard all the words of the Lord which He spoke to us; so it shall be a witness against you, so that [afterward] you do not deny your God.”