Genesis 38:10

KJV(i) 10 And the thing which he did displeased the LORD: wherefore he slew him also.