This is a quotation from the prophet Jeremiah in the Old Testament.
“with my people”
after those days
“when the time of the first covenant with my people has finished”
I will put my laws in their hearts, and I will write them on their minds
“Hearts” here is a metonym for “thoughts and intentions.” AT: “I will cause them to understand my laws and I will cause them to obey them” (See: rc://en/ta/man/translate/figs-metonymy)