Firstly, EvE is an unforgiving game. Now that’s put of the way, let’s look at what you can do to avoid stuff like this.
Ok so you’re mining in a venture. Your a newbro & need ISK to move on… believe me I know. I was you once.
You are never safe in eve. Highsec, lowsec, null & even docked up. When you come to terms with This, you will become a better pilot.
So train you shield skills, Navigation skills & Engineering skills. If you are mining a belt orbit what you are mining. An after burner should suffice. Ad a small shield booster & a shield extender. Never sit still unless you have the tank to do so.
Secondly consider mining in another system. EvE is massive… use it.
Train drones skills. This will help you a lot. Don’t use mining drones, you want to kill the npc’s.
Starting out can be hard. Don’t forget you can train frigates & destroyers & run missions. Also consider mining in a highsec 1.0 system. There will be no npc’s. Also if subbed you can train industrial ships to haul off to market.
It will get easier trust me. You will loose ships along the way, but you may also kill a lot yourself.
Don’t be afraid of the dark.