My son made it to his senior year in Engineering school with a 2012 MacBook Pro, largely because Computer Engineering did not require CAD-CAM or drawing software. He used Terminal and did his coding there.
His senior year, classes required a Win-only program. HIs old Macbook Pro would have required serious and, back then, expensive RAM and storage upgrades to even run BootCamp, so he bought a PC laptop.
...should I return the mac save some money and get a dell laptop?
As there are no full-release emulators and no Boot Camp for M1 Macs, that sounds like a good plan. However, don't limit yourself to Dell. My son, now an engineer for a major memory and storage manufacturer, still uses the up-spec 17-inch Lenovo he bought in college.