BT Šab 90b(26) :וחכים כל מה דבעי : he acquires as much wisdom as he wants See the entire entry for ḥkm vb. to be wise