Knowledge is better than mere ritualistic practice, meditation is better than mere knowledge, renunciation of the fruit of work is better than meditation, peace immediately follows the renunciation of (the attachment to) the fruit of work.
Better indeed is knowledge than mechanical practice. Better than knowledge is meditation. But better still is surrender of attachment to results, because there follows immediate peace.