Jeremiah 17:10

10 I the Lord test the mind and search the heart, to give to all according to their ways, according to the fruit of their doings.

Jeremiah 17:10 In-Context

8 They shall be like a tree planted by water, sending out its roots by the stream. It shall not fear when heat comes, and its leaves shall stay green; in the year of drought it is not anxious, and it does not cease to bear fruit.
9 The heart is devious above all else; it is perverse— who can understand it?
10 I the Lord test the mind and search the heart, to give to all according to their ways, according to the fruit of their doings.
11 Like the partridge hatching what it did not lay, so are all who amass wealth unjustly; in mid-life it will leave them, and at their end they will prove to be fools.
12 O glorious throne, exalted from the beginning, shrine of our sanctuary!
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.