How did oil wealth affect education in Saudi Arabia?

It makes them don't wanna study. cuz they have enough money that they don't need to work.