Egyptian temples were built for the official worship of the gods and in commemoration of the kings in Egypt and regions under Egyptian control.