Many Walgreens locations seem to be very close to Rite Aide. I have seem many across the street from each other.
In this part of the country, it’s Walgreen’s on one intersection corner and CVS on the opposite corner. I ignore them both and prefer the prescription counter at a local grocery. I now feel even more justified.