1 Chronicles 16:21

He suffered no man to do them wrong: yea, he reproved kings for their sakes,

Cross-reference

In Genesis 12:17, God strikes Pharaoh for Sarai's sake, rebuking a king to protect Abraham.

In Genesis 20:3, God warns Abimelek in a dream, rebuking him on behalf of Abraham.

Genesis 31:24 records God warning Laban not to harm Jacob, the specific rebuke summarized here in the song.

In Genesis 31:29, God rebukes Laban for threatening Jacob, matching the protection described here.

In Genesis 31:42, Jacob recounts God's rebuke of Laban, the same event summarized here.