A Renton man was sentenced to nearly 31 years in prison for a 2023 Seattle stabbing.