Why record everything twice?
Because every transaction has two sides. A sale increases what you are owed and increases your income. Paying a bill reduces your bank balance and reduces what you owe. Recording both sides captures the whole event, and recording them as equal amounts means the total of all debits always equals the total of all credits.
That equality is the check. If the books do not balance, something has been entered once, or wrongly. A single-entry system, which is really just a list of money in and money out, has no such check and no way of showing what you own and owe, only what has moved.
Debit and credit are not good and bad. They are the left and right sides of each account. Assets and costs increase with debits; income, liabilities and the owner's stake increase with credits. It takes a little getting used to and then it is simply how the books work. Every proper accounting system is double-entry underneath, whether or not it shows you.