This is absolutely true.
The way to change behavior is to actually change something and consistently practice that change.
It requires a great deal of commitment. Progress is generally slow. Set backs happen.
But if you actually change something and make it a diligent practice eventually it will be part of who you are.
There are a huge amount of people that read/share/talk about feel good life change quotes/books/etc that are doing nothing more than playing psychological tricks on themselves while avoiding the hard discouragingly long process that is required to make actual changes.