“applied my heart.” The Hebrew text is more literally, “gave my heart,” but this could be confusing in English because when a person “gives their heart” to something, like a girl giving her heart to a boy, the boy usually woos the girl. But in this case, wisdom did not woo the Sage, he applied his heart to it. And that is how we acquire wisdom; we apply ourselves to it.