Tax loss harvesting: 30 day rule

Hello, I am new to this tax loss harvesting strategy as we approach the end of the year. I understand how it works, but I am having trouble with the gray area of the wash-sale rule.

 

For example: I first purchased stock A back in September 18 of this year. As the price continued to go down I purchased more shares. The most recent purchase of shares was on december 13th to continue and increase my position of Stock A. I have not sold any shares of this stock since I owned it.

 

If I sell this stock at a capital loss before the end of the year, will the wash-sale rule apply since I technically bought shares within the 30 day window even though i didn't sell since I owned this stock?

 

thanks