If we can’t create a secure online voting system why do we use it for passports, banking, medical records, drivers licenses, criminal and law record keeping. This is just an attempt at control using the majority of cases that most websites and applications are insecure. If enough effort and time is invested of course we can create a fairly robust and secure voting system.
Hackers get into people's bank accounts, medical records, etc. all the time. We know that these systems are massively insecure. Also, none of those things are kept secret from everyone involved. Your bank gets to know how much you paid for something. Your doctor gets to know what your xray showed. The judge can see what court documents you filed. There are a lot of eyes on that data and trails to catch problems. Nobody is allowed to know how you vote. It's a very different problem than the online submission of bank transactions and court records.
There are also robust systems for correcting the record when something goes wrong. Sadly still not enough in place to protect the people whose data gets stolen or leaked, but that's another topic.