Lord thy God, or something like that.

Could someone give a good explaination of the concept of The Lord In ancient Egyptian texts as its applied to the role Pharaoh. And how that model was reapplied in the writings of the bible, with the title Lord being applied to God almighty.