Does word "divinity" have the same meaning in the following two sentences?

Ancient Egyptians believed in the divinity of the Pharaohs.

Harvard Divinity School has been teaching theology since 1636.
different meanings