According to Hindu mythology, Lord Shiva cut off one of Brahma's five heads when Brahma lied about finding the 'top' of a pillar of fire that Shiva had manifested as an endless cosmic column. Shiva was angered by Brahma's arrogance and falsehood, so he removed the head as punishment. This is why Brahma is depicted with four heads in temples.