Hey,
See both ethics and your career are different , you should know where you need to sow your ethics. If you are within the company and trying to cheat , then its not ethical.
You have already worked for your company and trying to move ahead in your career with your own choice , which ever the company it is, you need to see your growth and future.
So its okay if you switching to something where you can learn something more and getting a hike .