You're posting in the wrong subforum here - as you might have noticed
Not because your suggestion is bad, but because it marks you as an inexperienced player (aka newcomer), and this is an often asked suggestion. People in the main forums tend to have little patience with that, the newcomer's forum is a bit more forgiving.
To put something constructive there:
- you can hire crew for your ship, if you have a sufficently large ship. The latter has (almost) nothing to do with experience nowadays, you could get an Anaconda apparently in less than two days (and lose it again in less than two minutes, but that's a different story). The smallest ship, if you want to continue mining the way you are doing, that can handle a fighter is the Keelback.
- you can "hire" (ok, ask) players in specific groups to provide protection for you. Usually only in open, though, and a lot of people are out on DW2.
- are you mining in a RES? Then don't. Drop in anywhere in a ring (or even better, get yourself a DSS and locate a Painite hotspot) outside a DSS, and all you'll get (at the most) are couple of clowns that will scan you, complain that their children will have to go hungry tonight, then leave - as long as you have nothing but limpets in your hold
- if you want to avoid even those, jump a couple of hundred ly or so (don't know the exact number) out from inhabited space for your mining. Perfectly quiet - although of course you may attract some bottomfeeders when you return to sell your haul.
Oh, and finally: if you have ever seen the ususal NPCs in combat, you wouldn't want to hire them (at least not the low level ones). They're mainly good for decoys, but I wouldn't count on them to keep any pirates off my back.