In the desert they gave in to their craving; in the wilderness they put God to the test. (NIV)
But lusted exceedingly in the wilderness and tempted and tried to restrain God [with their insistent desires] in the desert. [Num. 11:4.] (AMP)
But lusted exceedingly in the wilderness, and tempted God in the desert. (KJV)