Happy are those who reject the advice of evil people, who do not follow the example of sinners or join those who have no use for God. Instead, they find joy in obeying the Law of the Lord, and they study it day and night. They are like trees that grow beside a stream, that bear fruit at the right time, and whose leaves do not dry up. They prosper in everything they do. Psalm 1:1-3 GNT (Note 1)
The fruit of the Spirit has as its source the law of God. Psalm 1 is a perfect description of how every true believer is to live, not by bread alone, but by every Word that comes from the mouth of God.
This is obedience.
Note 1: Prosper here refers not to material prosperity, but to success; spiritual success in one’s life through applying and adhering to the law of the Lord.