The United States adopted this policy after the 9.11 terrorist attack: Either stand with us against terrorism, then you are our friend; or do not stand with us, then you are our enemy.
The statement 'Either you are a virtuous person, then you will selflessly contribute everything; or you are a despicable person, then you will use all means for self-interest' is not the same as the expression in the above.