He certainly was tempted in the same way we are, in that temptations were put before Him by Satan, yet He remained sinless because God is incapable of sinning.
Bila shaka alijaribiwa katika njia na namna hiyo sisi hujaribiwa, kwa kuwa majaribu yalikuwa yamewekwa mbele yake na Shetani, lakini yeye akakaa bila dhambi kwa sababu Mungu hana ile hali ya dhambi.