Hello puzzleannie!!!
Actually, I wasn’t trying to go too far in my analogy into the existence and purpose of the candle and its relation to the flame

.
I was trying to focus on the concept of the flame only and draw the correlation between a person performing the action of extinguishing the flame of the candle and the person who seeks to extinguish the craving and attachment from their minds and bodies to attain enlightenment.
One practices good conduct, mental development and understanding to put an end to suffering. Suffering = the cycle of birth and death which we are all caught up in. This involves both physical and mental purification. One purifies body and mind to achieve this end goal of nirvana. Desire, ill-will and ignorance are the causes of suffering. They must be purified and extinguished in our lives. Once these are extinguished in our present existence - we are free from the cycle of birth and death.
So, if we wanted to expand the analogy of the candle and flame, I would do it this way:
The flame of the candle is suffering (the effect of the candle being lit), the extinguishing of flame = “nirvana”
The candle is desire, ill-will and ignorance - the causes of suffering which continues the cycle of birth and death.
The act of extinguishing is the culmination of “us” (which is our physical and mental existence) walking the eight-fold path which leads to the end of both the cause and effect of suffering.
In the Buddhist philosophy, words and concepts you used such as “created for one purpose” and “forever” do not mean anything. They are not real concepts. There are causes and effects and nothing lasts “forever”.
Peace…