All things are eternal, including God, man, the universe, matter, priesthood, etc.
All gospel principles are eternal, having no beginning or end. God Himself had to learn and obey these principles to become God. In order to become gods ourselves, we must follow the same path.