Job 13:27 (ESV)

27 You put my feet in the stocks and watch all my paths; you set a limit for the soles of my feet.

God acts toward Job as a prison warden toward a criminal.