The correct options are
A To demonstrate the power of the king.
B To demonstrate the wealth of the ruler.
C To demonstrate the king's devotion to god.
Kings demonstrated their wealth, power, and devotion to god through the construction of large temples. This had nothing to do with prevention of wars.