Deuteronomy 8:5 You should know in your heart that as a man chastens his son, so the Lord your God chastens you.
When the prophets told the people they ought to consider something in their hearts it was a direction to get them to think of this thing frequently.
When you love someone you think of them often and think of them in many different ways; this is how we should be thinking of God’s Word too!
Just as a parent will correct and chastise a child when they do wrong, so will God be doing so for us.
Listen to God when He tells you stuff so you don’t end up being upset when he corrects you!