Hackers very often switch sides, and instead of trying to steal information from computers and use it to make money, they become ethical hackers.
Ethical hacking, (also known as intrusion testing or red teaming) is used to find loopholes in an IT system and break into it. An ethical hacker is a computer and network expert who attacks a security system on behalf of its owners, seeking vulnerabilities that a malicious hacker could exploit.
With the increasing use of the internet, it has become an essential part of IT security industry today and top certified ethical hackers earn up to £80,000 per year, and need a bachelor's degree in computer science or information technology.
If you don’t quite have the hacking skills then maybe look at working up to this level as a developer for an internet security firm.