The story
From after (“in imitation of; following”) + one’s + own + heart (“disposition; personality”), a reference to 1 Samuel 13:14 and Acts 13:22 in the Bible: see the 1526 and 1611 quotations.
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: Of a person: having the same disposition, feelings, or opinions as oneself. Full definition →