a resin composition , comprisng a glycidyl ether of a hydrogenated conjugated diene polymer , an epoxy resin , and a reaction product of a phenolic compound with formaldehyde , having improved flexibility and thermal stability and useful for sealing a semiconductor device , whereby thermal stress can be effectively reduced .