Doing away with security guards

Would that be the Security Guard with the chip on his shoulder, bullied as a child, military wannabe and total fantasist, bloater, blagger, complete and utter cockwomble.
Other than plodding around a perimeter fence every few hours to justify their job title, I’ve never really understood their purpose.
The ones that grip my ■■■■ are those that take the role to far when it comes to vehicle searches, your only allowed as far as the booking in desk, then you have to remain in a stinking room while being tipped or loaded, and on the way out you get searched, they haven’t a clue what you came in with but ask you to open every cupboard, just in case you’ve snuck away a pallet of whatever from the bay.