The object is to play against the dealer (house) to get as close to 21 as possible without busting (going over 21).
You try to get close to 21.