mercenary

Definition

Motivated by a desire for money or other personal gain rather than loyalty or principle; a professional soldier hired to serve in a foreign army.

Example

"He was criticized for his mercenary attitude toward his career choices."