Even though Jesus was tempted by Satan, He was able to walk absolutely in the Father's will, pleasing Him.
John 5:30
................."I can of mine own self do nothing: as I hear, I judge: and my judgment is just; because I seek not mine own will, but the will of the Father which hath sent me."