In Ramayana, Sri Rama demonstrates how to live life as an ideal man, ideal king, ideal master, ideal devotee, ideal warrior, ideal son, ideal brother, ideal husband, and an ideal friend. He did not commit anything wrong in his entire period of avatara as a human being.