The first thing the magicians asked about was pay.
Working for whoever pays, before the truth showed
The sorcerers came to Fir'awn, and before anything else they asked about their reward if they won. Ibn Kathir says Fir'awn promised them tremendous provisions and made them hope for what they wished for. Their skill was for hire.
A client offers you a big bonus to write reviews for a product you have never used. The first question in your head is: how much? The question about right and wrong comes second, if at all.
If the pay is good, the job is fine.
The first question about any work should be whether it is right, not what it pays.
Look at one task you do for money. Ask once, plainly: would I do this if it were seen by Allah? Then decide.