Lastly, the Sykes-Picot treaty was known to the Arabs at least to some degree when Lawrence started working with them.
The Arabs expected that working with the Allies was worthwhile anyway; the Sharif clan obtained guns, money, loot, future political favours and vital food supplies for the Hejaz, after all.