The LORD considered what Onan was doing to be evil, so he put him to death, too.