Your page title should describe the page itself while being attractive enough for someone to click on if it's used in google's search results.
If Google does not trust the page title then it will pick its own from the content on the page.
The one thing you're making the mistake of is trying to inject keywords into the title which is not really required. You're saying your offering courses online so why does the location matter?
If you are targeting local people then I could understand your thinking but as this is not location-based then your title makes no sense.
I would try turning it more into a question or a statement, something along the lines of
Learn ethical hacking and cybersecurity with our online course.
Once the page is ranking you should also play around with the wording to see what attracts the most clicks. It is no good having the best page title if nobody clicks your link.