Putting the same amount into an investment on a schedule means some purchases happen at higher prices and some at lower ones. The average price you pay is not the highest and not the lowest. That is the whole mechanism. It is arithmetic.
It is not protection against a long decline. If the thing you are buying falls for years, the later purchases are cheaper and the earlier ones are still down. Averaging changed your entry. It did not change what you own.