the practice of using situations unfairly to gain advantage for yourself without thinking about how your actions will affect other people political opportunism
Check pronunciation: opportunism
Definition of opportunism noun from the Oxford Advanced American Dictionary