No matter what form a dollar takes, it's still a dollar. The digital dollar only converts the form, it doesn't change its essence. So the digital dollar won't have any effect on bitcoin.
In my opinion, the digital dollar (CBDC) could negatively affect the future of Bitcoin.
Currently, the first cryptocurrency can be bought and sold for cash. Cash is untraceable. Therefore, governments cannot ban Bitcoin. Also, in many cases it is difficult for regulators to correlate information about the purchase of Bitcoin with the identity of its new owner.
However, the digital dollar (CBDC) allows regulators to fully control all cash flows in the country.
This gives them the potential to control all Bitcoin transactions and even completely ban the circulation of the first cryptocurrency.