I just saw your problem.
You are thinking your own heart gives you the wisdom to determine right and wrong.
When you pray for wisdom, the Holy Spirit gives wisdom to your spirit. Not your heart. Your heart like mine is as Scripture says, deceitfully wicked. We get spiritual wisdom from the Holy Spirit that lives in us and is Our Teacher and source of God’s wisdom, among other things.
You’re the judge of my heart? I have a problem?
No man on earth has the right to judge me.
Courts of the land, yes, if I disobey civil law.
But in religious matters? Not!