Once! I only have one such occasion in my life. That is when I was saved.
I well know the battles in life. I have done some pretty miserable things and I'm just thankful God forgives. I do struggle with sin, I'm sad to say that, but I think it's partly because I have mudded up my own heart by sinning. No I don't think we can be perfect. But I do think we can love God with all our heart, soul and mind and our neighbour as ourselves.
And He said to him, “ ‘You shall love the Lord your God with all your heart, and with all your soul, and with all your mind.’ This is the great and foremost commandment. The second is like it, ‘You shall love your neighbor as yourself.’ On these two commandments depend the whole Law and the Prophets.”
— Matthew 22:37-40
It's all God's work we are saved. But I believe we need to walk in Spirit, and that is something we as believers can choose to do or not to do. Sometimes it costs us plenty to be faithful to God, a choice on our part, not something God will make for us. (I learned that the hard way)