Both Jesus and his brother James discuss how temptation turns into sin. For Jesus, hating or lusting mentally commits murder or adultery. James concurs with Jesus’ teaching and discusses how desire, temptation, and sin interrelate.
Since getting temptation, desire, and sin right matters so much for our personal growth, we need to get this right. And besides, current discussions on same-sex attraction revolve around these same subjects. So it is also a timely subject for discussion.