I don't know about you, but I found this passage so powerful. Some of the greatest men and women in the bible that God used for His purpose and plan were weak individuals like me and you - they had weaknesses. They had self doubt, fear, insecurities, imperfections - but God used them any how, and like them He can and wants to use us too. If an adulterer (and murderer I might add) like David could then be referenced by God as "a man after my own heart" then I don't see why we can't be the same - women and men after God's own heart.
Please note that God doesn't want us to be adulterers and murderers etc. but this is just a reference of how God can change our hearts and minds to love and to live a life of Godly obedience of the ten commandents which the greatest are:
36 “Teacher, which is the greatest commandment in the Law?”
37 Jesus replied: “‘Love the Lord your God with all your heart and with all your soul and with all your mind.’ 38 This is the first and greatest commandment. 39 And the second is like it: ‘Love your neighbor as yourself.’ 40 All the Law and the Prophets hang on these two commandments.”