An idiom advising one to assess dangers, consequences, or potential risks before jumping into action.
gauge the depth of water / test risk before committing
pima kina
"Pima kina cha maji kabla ya kuwekeza fedha zako zote."
Translation: Gauge the depth of the water before investing all your money.