I thought on my ways,.... What they were, whether right or wrong; whither they led, what would be the consequences of walking in them: the Septuagint and Arabic versions read, "thy ways"; no doubt the psalmist thought of both; of his own ways, in which he had walked; and of God's ways, which he directed him to walk in: and, considering the superior pleasure and profit of the latter, he preferred them to the former.
The Targum is, "I thought to mend my ways", or "make [them] good".