Samurai were paid in rice
A samurai's salary (禄) was measured in 石 (こく) — the rice one person eats per year. Power came not from gold but from paddies (田). 一万石 meant commanding 10,000 people's worth of rice.
ろく · salary
こく · rice unit
いちまんごく · 10,000 koku