Sure, MacBook Air is a great choice for keeping your files secure and safe, but if you are buying it for ethical hacking then you could consider it. An Ethical Hacker looks for cheap laptops probably with good features and long battery life. So, if your budget could afford MacBook Air then it's totally fine and you could go with it. But do keep in mind using Macintosh platforms could be a little expensive and if you could afford those then again, it's better to go with these secure platforms.
Wish to get certified in Ethical Hacking by enrolling in a good Ethical Hacking course? Then do so from Intellipaat, which offers you a course that is designed to enhance your practical skills. Watch our YouTube video on Ethical Hacking Career, Roles, And Responsibilities.