Exactly. If risk is defined as financial uncertainty, then lottery tickets and insurance are in fact complete opposites with regard to managing risk. Insurance is designed to minimize financial uncertainty and lottery tickets (gambling) to increase it.