A man accused of stabbing a man to death and seriously injuring another has claimed he was acting in self-defence, a Supreme Court jury has been told.