Jesus was made like His brethren, that He may be a merciful and faithful High Priest in Godly things, to take away their sins. Hebrews 2:17.
Jesus came to be like us, so we can afterwards become like Him. In other to do so, He had to pay the price we owed and this is death. When we could not pay, He did, so we don’t have to. Now be thankful for that and remember how much He loves us when we are tempted to disobey Him next time.