3 months ago I resigned from my current position because I got a better package at a similar-level organization. By similar-level organization, I mean that they have around the same revenue, employees, and project technology as my previous organization.
My employer wanted to retain me and offered to match the package I was getting at the other organization, and I accepted it and stayed with the same employer and rejected the offer from the new employer.
In the matching offer, we have agreed to a commitment of 1 year of engagement with my current organization, otherwise the raise will be rolled back and I need to give back the difference when I leave.
Now, I am being offered an even better package than I got three months ago from a new third organization, that is very broad is a multinational company.
I have resigned again based on this offer. Now, as per the agreement, I need to return the pay difference for what I got these past three months. I am agreeing to give back this difference because it will be recovered from the new employer after a few months.
Now, please let me know, is this an unprofessional way to resign again from my current employer?